/* =========================================================
   SID FESHION AND JEWALERS
   MAIN WEBSITE STYLES
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8b1e3f;
    --primary-dark: #64132d;
    --secondary: #d4a017;
    --dark: #211b1e;
    --text: #4d4548;
    --light: #faf7f8;
    --white: #ffffff;
    --border: #eadfe3;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.top-bar {
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
}

.top-bar-content {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-links {
    display: flex;
    gap: 22px;
}

.top-links a {
    opacity: 0.85;
    transition: 0.2s;
}

.top-links a:hover {
    opacity: 1;
    color: #f3cf67;
}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-content {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 35px;
}


/* LOGO */

.logo {
    min-width: 205px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    color: var(--primary);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-sub {
    margin-top: 7px;
    color: var(--dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* SEARCH */

.search-box {
    flex: 1;
    max-width: 570px;
    height: 46px;
    display: flex;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0 16px;
    color: var(--dark);
}

.search-box button {
    width: 55px;
    border: none;
    background: var(--primary);
    color: var(--white);
    font-size: 18px;
}

.search-box button:hover {
    background: var(--primary-dark);
}


/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.header-action {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--dark);
}

.header-action span {
    font-size: 22px;
    line-height: 1;
}

.header-action small {
    font-size: 11px;
}

.header-action:hover {
    color: var(--primary);
}

.cart-action b {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navigation {
    background: var(--primary);
    color: var(--white);
}

.nav-content {
    min-height: 52px;
    display: flex;
    align-items: center;
}

.nav-links {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links a {
    padding: 15px 22px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-dark);
}

.mobile-menu-button {
    display: none;
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 25px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    overflow: hidden;
    background:
        linear-gradient(
            110deg,
            #fff7f9 0%,
            #fff 52%,
            #f7e9ee 100%
        );
}

.hero-content {
    min-height: 535px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
    max-width: 590px;
}

.hero-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    color: var(--dark);
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.04;
    margin-bottom: 22px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero p {
    max-width: 520px;
    color: var(--text);
    font-size: 17px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 27px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}


/* HERO VISUAL */

.hero-visual {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    width: min(410px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            #fff 0%,
            #f6dfe7 45%,
            #e9c0cf 100%
        );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 25px 60px rgba(139, 30, 63, 0.15);
}

.hero-placeholder {
    width: 65%;
    aspect-ratio: 1;
    border: 1px solid rgba(139, 30, 63, 0.25);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.55);
}

.hero-placeholder span {
    font-size: 58px;
}

.hero-placeholder strong {
    font-size: 34px;
    letter-spacing: 3px;
}

.hero-placeholder small {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 2px;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
    text-align: center;
    margin-bottom: 42px;
}

.section-heading > span {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin: 8px 0;
    color: var(--dark);
    font-size: 34px;
}

.section-heading p {
    color: #7a7175;
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.categories-section {
    padding: 85px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.category-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 6px;
    transition: 0.25s;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.category-image {
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(
            145deg,
            #fff5f7,
            #f6e5eb
        );
    font-size: 70px;
}

.category-info {
    padding: 20px;
    text-align: center;
}

.category-info h3 {
    color: var(--dark);
    font-size: 17px;
    margin-bottom: 5px;
}

.category-info p {
    color: #857b80;
    font-size: 12px;
}


/* =========================================================
   FEATURES
   ========================================================= */

.features-section {
    padding: 35px 0;
    background: var(--light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-item > span {
    font-size: 30px;
}

.feature-item h3 {
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 2px;
}

.feature-item p {
    color: #81777c;
    font-size: 11px;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.products-section {
    padding: 85px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    transition: 0.25s;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.product-image {
    height: 270px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f3f5;
    font-size: 70px;
}

.product-info {
    padding: 17px;
}

.product-category {
    color: var(--secondary);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    color: var(--dark);
    font-size: 15px;
    margin: 5px 0 10px;
}

.product-price {
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
}

.product-old-price {
    color: #aaa;
    font-size: 12px;
    margin-left: 7px;
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.product-actions button {
    flex: 1;
    min-height: 38px;
    border-radius: 3px;
    border: 1px solid var(--primary);
    font-size: 11px;
    font-weight: 700;
}

.add-cart {
    background: var(--primary);
    color: var(--white);
}

.add-wishlist {
    background: var(--white);
    color: var(--primary);
}

.view-all {
    margin-top: 38px;
    text-align: center;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 75px 0;
    background: var(--primary);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-content > span {
    color: #f3cf67;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cta-content h2 {
    margin: 12px 0;
    font-size: 38px;
}

.cta-content p {
    max-width: 580px;
    margin: 0 auto 28px;
    opacity: 0.9;
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: var(--dark);
    color: #ddd;
}

.footer-grid {
    padding: 65px 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-about p {
    max-width: 350px;
    color: #aaa;
    font-size: 13px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column h3 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 15px;
}

.footer-column a {
    color: #aaa;
    font-size: 13px;
    transition: 0.2s;
}

.footer-column a:hover {
    color: #f3cf67;
    padding-left: 3px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    color: #999;
    font-size: 12px;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu-button {
    cursor: pointer;
}


/* =========================================================
   UTILITY
   ========================================================= */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #888;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .header-content {
        gap: 20px;
    }

    .logo {
        min-width: 170px;
    }

    .logo-main {
        font-size: 27px;
    }

    .header-actions {
        gap: 13px;
    }

    .nav-links a {
        padding: 15px 13px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   SMALL SCREEN
   ========================================================= */

@media (max-width: 700px) {

    .top-bar-content {
        justify-content: center;
    }

    .top-links {
        display: none;
    }

    .main-header {
        padding: 15px 0;
    }

    .header-content {
        min-height: auto;
        flex-wrap: wrap;
    }

    .logo {
        min-width: auto;
    }

    .search-box {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-action small {
        display: none;
    }

    .nav-content {
        min-height: 48px;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 12px 15px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .hero-content {
        min-height: auto;
        padding: 65px 0;
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: none;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        width: 80%;
    }

    .hero h1 {
        font-size: 43px;
    }

    .categories-section,
    .products-section {
        padding: 60px 0;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 29px;
    }
}