* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #1f1a17;
    background:
        radial-gradient(circle at top left, rgba(220, 182, 123, 0.18), transparent 32%),
        linear-gradient(180deg, #fffaf5 0%, #f7f1eb 100%);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.app-shell {
    width: 100%;
    overflow-x: hidden;
}

.home-page,
.details-page,
.login-card,
.register-card,
.checkout-container,
.cart-summary-container {
    width: 100%;
}

.section-kicker,
.store-kicker {
    display: inline-block;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b98747;
    font-weight: 700;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    margin: 0.4rem 0 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
}

.section-heading--light,
.section-heading--light h2 {
    color: #fff;
}

.store-hero,
.store-highlights,
.brand-intro,
.store-collection,
.store-about {
    width: min(100% - 2rem, 1240px);
    margin: 0 auto;
}

.store-hero {
    padding: 1rem 0 0;
}

.store-hero__carousel {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 26px 70px rgba(23, 20, 18, 0.18);
}

.store-hero__image {
    width: 100%;
    height: min(82vh, 760px);
    min-height: 460px;
    object-fit: cover;
}

.store-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 14, 12, 0.74) 0%, rgba(17, 14, 12, 0.34) 52%, rgba(17, 14, 12, 0.18) 100%);
}

.store-hero__content {
    position: absolute;
    inset: auto auto 0 0;
    max-width: 620px;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    color: #fff;
}

.store-hero__content h1,
.store-hero__content h2 {
    margin: 0.6rem 0 0.9rem;
    font-size: clamp(2.2rem, 6vw, 4.75rem);
    line-height: 0.98;
    font-weight: 800;
}

.store-hero__content p {
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.store-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.store-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.store-highlights article,
.brand-intro,
.store-contact-card,
.perfume-card-tile,
.store-footer__inner,
.details-tabs-shell,
.checkout-summary,
.login-card,
.register-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(185, 135, 71, 0.12);
    box-shadow: 0 18px 45px rgba(26, 20, 17, 0.08);
}

.store-highlights article {
    padding: 1.35rem;
    border-radius: 24px;
}

.store-highlights span {
    display: block;
    margin-bottom: 0.55rem;
    color: #8a796c;
    font-size: 0.92rem;
}

.store-highlights strong {
    font-size: 1.04rem;
    line-height: 1.55;
}

.brand-intro,
.store-about,
.store-collection {
    margin-top: 1.75rem;
    padding: clamp(1.4rem, 3vw, 2.4rem);
    border-radius: 28px;
}

.brand-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 1.25rem;
    align-items: center;
}

.brand-intro__grid p {
    margin: 0 0 1rem;
    line-height: 1.85;
    color: #574d45;
}

.brand-intro__badge {
    padding: 1.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #1f1a17, #4f4137);
    color: #fff;
}

.brand-intro__badge span {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1.6rem;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    color: #f1cf97;
}

.store-collection {
    margin-bottom: 1.75rem;
}

.perfume-accordion {
    display: grid;
    gap: 1rem;
}

.perfume-accordion__item {
    border: 1px solid rgba(185, 135, 71, 0.12);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
}

.perfume-accordion__button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    background: linear-gradient(135deg, #fff8f1, #f5ede4);
    color: #1f1a17;
    font-weight: 700;
    box-shadow: none;
}

.perfume-accordion__button small {
    color: #8a796c;
    font-size: 0.82rem;
    font-weight: 600;
}

.perfume-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.perfume-card-tile {
    border-radius: 24px;
    overflow: hidden;
}

.perfume-card-tile__media {
    position: relative;
    background: linear-gradient(180deg, #fff, #f7efe5);
}

.perfume-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.perfume-card-tile__link {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    border-radius: 999px;
    padding-inline: 1rem;
    font-weight: 700;
}

.perfume-card-tile__body {
    padding: 1.25rem;
}

.perfume-card-tile__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.perfume-card-tile__header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.perfume-card-tile__header span {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: #f5eee5;
    color: #7a685c;
    font-size: 0.78rem;
    font-weight: 700;
}

.perfume-card-tile__description {
    margin: 0.9rem 0 1.1rem;
    color: #65584f;
    line-height: 1.7;
}

.perfume-card-tile__prices {
    display: grid;
    gap: 0.75rem;
}

.perfume-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: #faf6f1;
    border: 1px solid #eee3d6;
}

.perfume-price-row__copy {
    display: grid;
    gap: 0.3rem;
}

.price-old {
    margin-right: 0.55rem;
    color: #b65252;
    text-decoration: line-through;
    font-weight: 700;
}

.price-new {
    color: #1f8b4d;
    font-weight: 800;
}

.cart-icon-button {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 16px;
    background: #1f1a17;
    color: #fff;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cart-icon-button:hover {
    transform: translateY(-1px);
}

.cart-icon-button.is-active {
    background: #c05a54;
}

.cart-icon-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-drawer-host {
    position: relative;
    z-index: 1200;
}

.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(23, 20, 18, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cart-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100vw);
    height: 100vh;
    background: #fffdf9;
    box-shadow: -10px 0 40px rgba(24, 19, 16, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.cart-panel.open {
    transform: translateX(0);
}

.cart-panel__header,
.cart-panel__footer {
    padding: 1.25rem;
    border-bottom: 1px solid #eee3d6;
}

.cart-panel__footer {
    border-bottom: none;
    border-top: 1px solid #eee3d6;
    background: #fff;
}

.cart-panel__header h3 {
    margin: 0.2rem 0 0;
    font-size: 1.3rem;
}

.cart-panel__close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 14px;
    background: #f3ece3;
    color: #1f1a17;
}

.cart-panel__body {
    overflow-y: auto;
    padding: 1.25rem;
}

.cart-line {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #efe4d7;
}

.cart-line-main {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 0.9rem;
}

.cart-line-image {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    object-fit: cover;
    background: #f5eee5;
}

.cart-line-copy {
    display: grid;
    gap: 0.24rem;
}

.cart-line-copy span {
    color: #76695f;
}

.cart-line-price {
    margin-top: 0.15rem;
}

.cart-line-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.85rem;
    gap: 0.75rem;
}

.cart-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: #f5eee5;
}

.cart-qty-control button,
.cart-line-remove {
    border: none;
    background: transparent;
    color: #1f1a17;
    font-weight: 700;
}

.cart-line-remove {
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: #f9ebe8;
    color: #b65252;
}

.cart-empty-state {
    padding: 2rem 0.5rem;
    text-align: center;
    color: #76695f;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.7rem;
}

.cart-summary-row--total {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid #eee3d6;
    font-size: 1.06rem;
}

.store-about {
    background: linear-gradient(135deg, #1f1a17, #4b3f35);
    color: #fff;
    margin-bottom: 2rem;
}

.store-about__story {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.store-about__story img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 24px;
}

.store-about__list {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    line-height: 1.8;
}

.store-about__contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.store-contact-card {
    padding: 1.4rem;
    border-radius: 24px;
    color: #1f1a17;
}

.store-contact-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.store-contact-card .form-control {
    margin-bottom: 0.85rem;
    border-radius: 14px;
}

.store-contact-card--secondary {
    display: grid;
    align-content: start;
    gap: 0.95rem;
}

.store-contact-list {
    display: grid;
    gap: 0.75rem;
}

.store-contact-list div {
    display: grid;
    gap: 0.18rem;
}

.store-footer {
    padding: 0 1rem 1.25rem;
}

.store-footer__inner {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 28px;
}

.store-footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.store-footer__brand img {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: cover;
}

.store-footer__brand h2 {
    margin: 0 0 0.35rem;
    font-size: 1.3rem;
}

.store-footer__brand p {
    margin: 0;
    color: #72655c;
    line-height: 1.7;
}

.store-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.store-footer__grid h3 {
    margin-top: 0;
    margin-bottom: 0.85rem;
}

.store-footer__grid a {
    display: block;
    margin-bottom: 0.55rem;
    color: #6f6158;
    text-decoration: none;
}

.store-footer__bottom {
    width: min(100%, 1240px);
    margin: 0.9rem auto 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #786c62;
    font-size: 0.92rem;
}

.footer-newsletter-form {
    display: grid;
    gap: 0.75rem;
}

.login-card,
.register-card {
    max-width: 560px;
    margin: 2.5rem auto;
    padding: clamp(1.3rem, 3vw, 2rem);
    border-radius: 26px;
}

.checkout-summary {
    border-radius: 24px;
}

.review-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.review-user-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .store-highlights,
    .brand-intro__grid,
    .store-about__story,
    .store-about__contact,
    .store-footer__grid {
        grid-template-columns: 1fr;
    }

    .store-hero__image {
        height: 68vh;
    }

    .store-footer__bottom {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .store-hero,
    .store-highlights,
    .brand-intro,
    .store-collection,
    .store-about {
        width: min(100% - 1rem, 1240px);
    }

    .store-hero__carousel {
        border-radius: 22px;
    }

    .store-hero__image {
        min-height: 420px;
    }

    .store-hero__content {
        max-width: none;
    }

    .store-hero__actions {
        flex-direction: column;
    }

    .store-hero__actions .btn {
        width: 100%;
    }

    .perfume-price-row,
    .cart-line-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-contact-card,
    .store-footer__inner {
        border-radius: 22px;
    }
}

@media (max-width: 575.98px) {
    .store-hero__image {
        height: 72vh;
        min-height: 460px;
    }

    .store-hero__content h1,
    .store-hero__content h2 {
        font-size: 2.35rem;
    }

    .cart-panel {
        width: 100vw;
    }

    .cart-panel__header,
    .cart-panel__body,
    .cart-panel__footer {
        padding: 1rem;
    }

    .cart-line-main {
        grid-template-columns: 66px 1fr;
    }

    .cart-line-image {
        width: 66px;
        height: 66px;
        border-radius: 16px;
    }
}
