* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===========================
   ANNOUNCEMENT BAR
   =========================== */
.announcement-bar {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    height: 64px;
    position: relative;
}

.nav-left ul,
.nav-right ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-right ul {
    gap: 24px;
    margin-left: auto;
}

.nav-left a,
.nav-right a {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    transition: opacity 0.3s ease;
}

.nav-left a:hover,
.nav-right a:hover,
.nav-left a:focus,
.nav-right a:focus {
    opacity: 0.6;
}

.nav-left a:focus,
.nav-right a:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo-center a {
    display: block;
    line-height: 0;
}

.logo-center a:focus {
    outline: 2px solid #000;
    outline-offset: 4px;
}

.logo-center img {
    height: 60px;
    width: auto;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-toggle button {
    padding: 8px;
    color: #000;
}

.mobile-menu-toggle button:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 24px 48px;
    z-index: 100;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    transition: opacity 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
    opacity: 0.6;
}

.mobile-menu a:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* ===========================
   MAIN CONTENT
   =========================== */
main {
    padding-top: 32px;
}

/* ===========================
   PRODUCT GRID
   =========================== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 500px;
    margin: 20px auto;
    padding: 0 24px;
}

.product-card {
    background: #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 450px;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card:focus {
    outline: 2px solid #000;
    outline-offset: 4px;
}

.product-image {
    aspect-ratio: 1/1;
    background: #f9f9f9;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 16px;
    text-align: center;
}

.product-info h3 {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.product-info .price {
    font-size: 14px;
    font-weight: 600;
}

.current-price {
    color: #000;
    font-weight: 900;
    margin-right: 8px;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
}

/* ===========================
   BUTTONS
   =========================== */
.shop-all-section {
    text-align: center;
    padding: 32px 0 20px;
}

.btn-shop-all {
    background: #1a1a1a;
    color: #fff;
    padding: 16px 48px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-shop-all:hover {
    background: #2a2a2a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-shop-all:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.btn-shop-all:active {
    transform: translateY(0);
}

/* ===========================
   GALLERY SECTION
   =========================== */
.gallery-section {
    max-width: 1280px;
    margin: 32px auto 20px;
    padding: 0 24px;
}

.gallery-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 48px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 4/5;
    background: #f0f0f0;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 64px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto 48px;
}

.footer-col a {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-col a:hover,
.footer-col a:focus {
    color: #000;
}

.footer-col a:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.3s ease;
}

.social-link:hover,
.social-link:focus {
    color: #000;
}

.social-link:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 11px;
    color: #999;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
    header {
        padding: 0 16px;
        height: 56px;
        grid-template-columns: 1fr auto 1fr;
        display: grid;
    }

    .nav-left {
        display: none;
    }

    .logo-center {
        position: static;
        transform: none;
        grid-column: 2;
        justify-self: center;
    }

    .logo-center img {
        height: 45px;
    }

    .nav-right {
        grid-column: 3;
        justify-self: end;
    }

    .nav-right ul {
        gap: 16px;
        margin-left: 0;
    }

    .nav-right ul li:first-child {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        order: -1;
    }

    .mobile-menu {
        padding: 20px 16px;
    }

    main {
        padding-top: 24px;
    }

    .product-grid {
        margin: 32px auto;
        padding: 0 16px;
    }

    .product-info h3 {
        font-size: 13px;
    }

    .product-info .price {
        font-size: 13px;
    }

    .shop-all-section {
        padding: 24px 0 48px;
    }

    .btn-shop-all {
        padding: 14px 40px;
        font-size: 10px;
    }

    .gallery-section {
        margin: 64px auto 20px;
        padding: 0 16px;
    }

    .gallery-section h2 {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    footer {
        padding: 48px 16px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }

    .footer-col a {
        margin-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .announcement-bar {
        font-size: 10px;
        padding: 8px 12px;
    }

    header {
        padding: 0 12px;
    }

    .logo-center img {
        height: 40px;
    }

    .nav-right ul {
        gap: 12px;
    }

    .nav-right a {
        font-size: 10px;
    }

    .product-grid {
        max-width: 100%;
    }

    .gallery-section h2 {
        font-size: 20px;
    }

    .btn-shop-all {
        width: 90%;
        max-width: 300px;
    }
}

/* ===========================
   TOUCH DEVICE OPTIMIZATIONS
   =========================== */
@media (hover: none) and (pointer: coarse) {
    .nav-right a,
    .footer-col a,
    .social-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .product-card:hover,
    .btn-shop-all:hover {
        transform: none;
    }

    .btn-shop-all:active {
        background: #2a2a2a;
        transform: scale(0.98);
    }

    .product-card:active {
        opacity: 0.9;
    }
}