/* Main Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 252, 250, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 28px rgba(56, 35, 31, 0.08);
    border-bottom: 1px solid rgba(126, 55, 57, 0.10);
    z-index: 1000;
    padding: 0;
    width: 100%;
    /* Reveal (scroll up): smooth spring easing */
    transition: transform 0.42s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

/* === Completely hidden when scrolling down === */
body.site-header-hidden .header {
    transform: translateY(-110%) !important;
    box-shadow: none !important;
    /* Hide: snappy ease-in so it gets out of the way fast */
    transition: transform 0.26s cubic-bezier(0.4, 0, 1, 1), box-shadow 0.18s ease;
}

.header > .container {
    max-width: 1400px;
    padding: 8px 40px 0;
    transition: padding 0.28s ease;
}

.header-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    transition: opacity 0.28s ease 0.22s, padding 0.28s ease;
}

.header-top-row {
    border-bottom: 1px solid rgba(126, 55, 57, 0.08);
}

.header .container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mobillogo {
    max-width: 150px;
    height: auto;
}

.site-logo {
    flex: 0 0 auto;
    padding-right: 20px;
}

.site-logo img {
    max-width: 170px;
    height: auto;
}

.logo3cont {
    display: none;
    position: relative;
    padding: 10px 0;
}

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

#desktopdiller {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    background: white;
}

#desktopdiller .treng {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    display: flex;
    gap: 5px;
    align-items: center;
}

#desktopdiller .treng a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    padding: 2px 5px;
}

#desktopdiller .treng a:hover {
    color: var(--primary-color);
}

/* Navigation Styles */
.desktopmenu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    margin: 0;
    flex-wrap: wrap;
    transition: padding 0.28s ease;
}

.desktopmenu li {
    position: relative;
}

.desktopmenu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    white-space: nowrap;
}

.desktopmenu li a:hover {
    color: var(--primary-color);
}

.f-nav {
    width: 100%;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 30px;
    min-width: 700px;
    border-radius: 4px;
    z-index: 1000;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
}

.dropdown-menu li {
    margin-bottom: 15px;
}

.dropdown-menu li a {
    color: #666;
    font-size: 13px;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.dropdown-menu li a:hover {
    color: var(--primary-color);
}

.dropdown-menu li div {
    margin-top: 5px;
}

.dropdown-menu li div a {
    font-size: 12px;
    color: #999;
    padding: 3px 0;
}

.dropdown-menu li div a:hover {
    color: var(--primary-color);
}

/* Top Cart Block */
.top-cart-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.aralik {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.aralik li {
    display: flex;
    align-items: center;
}

.aralik li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.aralik li a img {
    transition: opacity 0.3s;
}

.aralik li a:hover img {
    opacity: 0.7;
}

.pull-right {
    margin-left: auto;
}

.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-inline {
    display: flex;
}

.header-top-row {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 40px;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(360px, 1fr);
    align-items: center;
    gap: 24px;
    /* Reveal delay: logo/search fades in after header slides in */
    transition: padding 0.28s ease, opacity 0.32s ease 0.14s, transform 0.32s ease 0.14s;
}

.prehCATanasayfa {
    overflow: hidden;
    transition: max-height 0.28s ease, padding 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

body.site-header-scrolled .prehCATanasayfa {
    max-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
    transform: translateY(-8px);
}

/* site-header-hidden: layered inner elements hide fast, no delay */
body.site-header-hidden .header-top-row {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.14s ease 0s, transform 0.14s ease 0s, padding 0.28s ease;
}

body.site-header-hidden .header-navigation {
    opacity: 0;
    transition: opacity 0.12s ease 0s, padding 0.28s ease;
}

body.site-header-scrolled .header {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

body.site-header-scrolled .header-navigation {
    /* no transform shift needed */
}

body.site-header-scrolled .header > .container {
    padding-top: 6px;
    padding-bottom: 6px;
}

body.site-header-scrolled .header-top-row {
    padding-top: 10px;
    padding-bottom: 10px;
}

body.site-header-scrolled .desktopmenu {
    padding-top: 8px;
    padding-bottom: 8px;
}

body.site-header-scrolled .header-action-link--icon,
body.site-header-scrolled .header-action-link--account {
    min-height: 46px;
}

body.site-header-scrolled .site-logo img {
    max-width: 150px;
}

body.site-header-scrolled .logo3cont {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Scroll-to-top control with progress ring */
.scroll-to-top-btn {
    --scroll-progress: 0%;
    position: fixed;
    right: 18px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 1300;
    opacity: 0;
    transform: translateY(18px) scale(0.92);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.scroll-to-top-btn.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.scroll-to-top-btn__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.96) 0 63%, transparent 64%),
        conic-gradient(from -90deg, #7E3739 0 var(--scroll-progress), rgba(126, 55, 57, 0.12) var(--scroll-progress) 100%);
    box-shadow: 0 12px 30px rgba(126, 55, 57, 0.16);
    border: 1px solid rgba(126, 55, 57, 0.14);
}

.scroll-to-top-btn__icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 400;
    color: #7E3739;
    transform: translateY(-1px);
}

.scroll-to-top-btn:hover .scroll-to-top-btn__ring {
    box-shadow: 0 14px 36px rgba(126, 55, 57, 0.24);
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        right: 14px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}

.header-top-left,
.header-top-center,
.header-top-right {
    min-width: 0;
}

.header-top-center {
    display: flex;
    justify-content: center;
}

.header-top-right {
    display: flex;
    justify-content: flex-end;
}

.header-actions-list {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 10px;
}

.header-action-item {
    position: relative;
}

.header-action-link {
    position: relative;
}

.header-action-link--icon,
.header-action-link--account {
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #eadfd8;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fcf7f4 100%);
    box-shadow: 0 10px 30px rgba(126, 55, 57, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-action-link--icon:hover,
.header-action-link--account:hover {
    transform: translateY(-2px);
    border-color: #d5beb1;
    box-shadow: 0 14px 34px rgba(126, 55, 57, 0.12);
}

.header-action-link--icon {
    justify-content: center;
    width: 52px;
    padding: 0;
}

.header-action-link--account {
    gap: 8px;
    padding: 0 16px;
}

.header-action-link img {
    display: block;
}

.header-action-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-action-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--primary-color);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(126, 55, 57, 0.22);
}

.header-action-badge--cart {
    background: var(--secondary-color);
}

#desktopdiller.header-action-item--switches {
    display: flex;
    gap: 8px;
    align-items: center;
    border: none;
    padding: 0;
    background: transparent;
}

#desktopdiller .market-switch-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid #eadfd8;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fcf7f4 100%);
    box-shadow: 0 10px 30px rgba(126, 55, 57, 0.06);
}

#desktopdiller .market-switch-link {
    padding: 4px 0;
    color: #9c8f88;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
}

#desktopdiller .market-switch-link.is-active {
    color: var(--primary-color);
}

#desktopdiller .market-switch-divider {
    color: #d6cbc5;
    font-size: 12px;
}

.home-banner-stage {
    padding: 34px 0 10px;
    background: radial-gradient(circle at top left, rgba(216, 132, 134, 0.12), transparent 42%), linear-gradient(180deg, #fff9f6 0%, #fff 100%);
}

.home-banner-stage__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.home-banner-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: 26px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 20px 50px rgba(88, 39, 40, 0.12);
    grid-column: span 4;
}

.home-banner-card--feature {
    grid-column: span 8;
    min-height: 340px;
}

.home-banner-card__media,
.home-banner-card__overlay,
.home-banner-card__content {
    position: absolute;
    inset: 0;
}

.home-banner-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.home-banner-card__overlay {
    background: linear-gradient(135deg, rgba(52, 23, 24, 0.14) 0%, rgba(52, 23, 24, 0.64) 100%);
}

.home-banner-card__content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 28px;
}

.home-banner-card__eyebrow,
.mini-banners-section__eyebrow,
.mini-banner-item__label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 800;
}

.home-banner-card__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    line-height: 1.02;
    max-width: 420px;
}

.home-banner-card__cta,
.mini-banner-item__cta {
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-banner-card:hover .home-banner-card__media img,
.mini-banner-item__link:hover .mini-banner-item__image-wrap img {
    transform: scale(1.05);
}

.mini-banners-section {
    padding: 74px 0;
    background: #fff;
}

.mini-banners-section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.mini-banners-section__title {
    max-width: 760px;
    font-size: 36px;
    line-height: 1.04;
    color: #2f2524;
}

.mini-banners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mini-banner-item__link {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    border: 1px solid #efe3dc;
    border-radius: 26px;
    text-decoration: none;
    color: #332827;
    background: linear-gradient(180deg, #fff 0%, #fff8f5 100%);
    box-shadow: 0 14px 40px rgba(126, 55, 57, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mini-banner-item__link:hover {
    transform: translateY(-4px);
    border-color: #ddc5b8;
    box-shadow: 0 18px 46px rgba(126, 55, 57, 0.11);
}

.mini-banner-item__image-wrap {
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1.22 / 1;
}

.mini-banner-item__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.mini-banner-item__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-banner-item__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    line-height: 1.02;
}

@media (max-width: 1180px) {
    .header-top-row {
        grid-template-columns: 1fr auto;
    }

    .header-top-left {
        display: none;
    }

    .home-banner-card,
    .home-banner-card--feature {
        grid-column: span 6;
    }

    .mini-banners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .header-top-row {
        padding: 16px 18px;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .header-top-right {
        width: 100%;
        justify-content: center;
    }

    .header-actions-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .home-banner-stage__grid,
    .mini-banners-grid {
        grid-template-columns: 1fr;
    }

    .home-banner-card,
    .home-banner-card--feature {
        grid-column: span 12;
        min-height: 280px;
    }

    .mini-banners-section__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .mini-banners-section__title {
        font-size: 30px;
    }
}

/* Product Grid - Homepage Only */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1025px) {
    .products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 40px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Product Cards - Global */
.product {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef0f2;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(6, 55, 53, 0.06);
    opacity: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.35s ease;
}

.product.in-view {
    transform: none;
    opacity: 1;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product_resimdiv {
    overflow: hidden;
    display: flex;
    flex-grow: 1;
    position: relative;
    padding-top: 114.33%;
    border-radius: 6px;
    background: #fafafa;
}

.product_resimdiv img,
.product_resimdiv img.lazypr {
    margin: auto;
    max-height: none;
    width: 100%;
    position: absolute;
    top: 0;
    transition: transform 0.3s ease;
}

.product:hover .product_resimdiv img,
.product:hover .product_resimdiv img.lazypr {
    transform: scale(1.05);
}

.productalt {
    padding: 18px 16px 16px 16px;
    background: white;
}

.productalt h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
    min-height: 45px;
    margin: 0 0 10px 0;
}

.pi-price {
    margin-top: 10px;
}

.pi-price .fiyatleft {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-top: 10px;
}

.fiyatsatis {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

/* Badges & Overlays */
.badge-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    z-index: 2;
}

.badge-pill.badge-new { background: var(--primary-color); }
.badge-pill.badge-sale { background: #c62828; }

.tukendi {
    position: absolute;
    right: 10px;
    top: 10px;
    background: rgba(214, 63, 63, 0.95);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

/* Footer Styles */
.footera {
    background-color: var(--rose-dark);
    color: white;
    margin-top: 80px;
}

.footerb {
    background-color: var(--rose-dark);
    padding: 30px 80px;
}

.pre-footer-col {
    margin-bottom: 30px;
}

.pre-footer-col a {
    color: var(--rose-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.pre-footer-col a:hover {
    color: white;
}

.cumle {
    display: block;
    margin-bottom: 8px;
}

/* Slider Styles */
.slider-single {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider-item {
    position: relative;
    outline: none;
}

.slider-item img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 500px;
    max-height: 650px;
    object-fit: cover;
}

.slider-single .slick-dots {
    bottom: 20px;
    z-index: 10;
}

.slider-single .slick-dots li button:before {
    font-size: 12px;
    color: white;
    opacity: 0.5;
}

.slider-single .slick-dots li.slick-active button:before {
    opacity: 1;
    color: white;
}

.slider-single .slick-prev,
.slider-single .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
}

.slider-single .slick-prev {
    left: 20px;
}

.slider-single .slick-next {
    right: 20px;
}

.slider-single .slick-prev:before,
.slider-single .slick-next:before {
    font-size: 40px;
    opacity: 0.7;
}

.slider-single .slick-prev:hover:before,
.slider-single .slick-next:hover:before {
    opacity: 1;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

button {
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .desktopmenu {
        display: none;
    }
    
    .site-logo {
        display: none;
    }
    
    .top-cart-block {
        display: none;
    }
    
    .logo3cont {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        width: 100%;
    }
    
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .footerb {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .content-container {
        padding: 0 15px;
    }
    
    .home-products-grid,
    .special-products-grid,
    .new-products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 15px !important;
    }

    /* special-section stays row on tablet - column only at 600px */
    .special-section h2 {
        font-size: 28px !important;
    }

    .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .product {
        max-width: none;
        margin-bottom: 10px !important;
    }
    
    .product_resimdiv {
        height: auto !important;
        aspect-ratio: 1/1 !important;
    }

    .productalt {
        padding: 12px 10px;
    }
    
    .productalt h3 {
        font-size: 13px !important;
        min-height: auto !important;
        margin: 5px 0 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .fiyatsatis, .pi-price {
        font-size: 15px !important;
    }

    /* Banners & Promo */
    .luxury-banners-header {
        flex-direction: column !important;
        text-align: center !important;
        margin-bottom: 25px !important;
    }
    .luxury-banners-title {
        font-size: 22px !important;
    }
    .luxury-banners-nav {
        display: none !important;
    }

    .home-promo10-inner {
        padding: 40px 15px !important;
    }
    .home-promo10-card {
        padding: 30px 15px !important;
    }

    /* Feature Cards (Kişiye Özel Kart Notları vb.) */
    .feature-cards-container {
        flex-direction: column !important;
        padding: 20px !important;
        gap: 20px !important;
    }
    .feature-card {
        width: 100% !important;
    }
}

/* Gerçek mobil (600px altı): special-section dikey diz */
@media (max-width: 600px) {
    .blok77alt {
        flex-direction: column !important;
    }

    .menu-search {
        display: block;
    }

    .mobillogo {
        display: block;
        max-width: 120px;
    }

    .special-section {
        flex-direction: column-reverse !important;
        gap: 24px !important;
    }

    .special-section > div {
        flex: 1 1 100% !important;
    }

    .special-section h2 {
        font-size: 26px !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .prehCATanasayfa {
        font-size: 12px;
        padding: 8px;
    }
    
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .productalt {
        padding: 10px;
    }
    
    .productalt h3 {
        font-size: 11px;
        min-height: 45px;
    }
    
    .slider-item img {
        min-height: 180px;
        max-height: 240px;
    }
}

/* Homepage Product Grid - Base (desktop) definitions */
.home-products-grid,
.new-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1258px;
    margin: 0 auto;
    padding: 0 20px;
}

.special-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Utility Classes */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-2,
.col-md-3,
.col-md-5,
.col-md-6,
.col-md-7 {
    padding: 0 15px;
}

.col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

@media (max-width: 768px) {
    .col-md-2,
    .col-md-3,
    .col-md-5,
    .col-md-6,
    .col-md-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* =========================================================================
   GLOBAL MOBILE RESPONSIVE OVERRIDES
   Keep desktop unchanged; optimize stacked layouts and header behavior on phones.
   ========================================================================= */
@media (max-width: 991px) {
    .content-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-top-row {
        display: none !important;
    }

    .logo3cont.searchmobil {
        display: flex !important;
        padding: 10px 16px !important;
        gap: 12px;
    }

    .header-navigation.f-nav {
        display: none !important;
    }

    .desktopmenu {
        display: none !important;
    }

    .mini-banners-grid,
    .feature-cards-container {
        grid-template-columns: 1fr !important;
    }

    .section-header,
    .header-top-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    /* special-section (Saksı Orkide) stays as flex-row on tablet/desktop */
    .special-section {
        flex-direction: row !important;
        align-items: center !important;
    }
    .special-section > div[style*="flex: 2"] {
        flex: 2 !important;
    }
    .special-section > div[style*="flex: 1"] {
        flex: 1 !important;
    }

    .header-top-right,
    .header-top-center,
    .header-top-left {
        width: 100% !important;
        justify-content: center !important;
    }

    .header-top-left {
        justify-content: flex-start !important;
    }

    .dropdown-menu {
        position: static !important;
        min-width: 0 !important;
        box-shadow: none !important;
        margin-top: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        max-height: none !important;
        border-top: 0 !important;
    }

    .dropdown-menu ul {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

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

@media (max-width: 768px) {
    .content-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .products,
    .new-products-grid,
    .special-products-grid,
    .home-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .product {
        max-width: none !important;
    }

    .slider-item img,
    .home-hero-slider .vitrinimg {
        min-height: 240px;
        max-height: 320px;
        object-fit: cover;
    }

    .section-header {
        gap: 16px !important;
    }

    .yenigelen {
        font-size: 24px !important;
        line-height: 1.25 !important;
    }

    .view-all-btn {
        padding: 12px 26px !important;
        font-size: 14px !important;
    }

    .top-cart-block ul {
        gap: 12px !important;
    }

    #desktopdiller {
        padding: 7px 10px !important;
        gap: 8px !important;
    }

    .site-logo img {
        max-width: 130px !important;
    }

    .logo3cont.searchmobil a[style*="text-align: center"] img {
        max-width: 170px !important;
    }
}

@media (max-width: 480px) {
    .prehCATanasayfa {
        font-size: 12px !important;
        padding: 8px 10px !important;
        line-height: 1.35 !important;
    }

    .logo3cont.searchmobil {
        padding: 10px 12px !important;
    }

    .logo3cont.searchmobil img {
        max-width: 150px !important;
    }

    .slider-item img,
    .home-hero-slider .vitrinimg {
        min-height: 210px;
        max-height: 280px;
    }

    .productalt h3,
    .new-products-grid .productalt h3,
    .special-products-grid .productalt h3 {
        min-height: auto !important;
        font-size: 11px !important;
    }
}
/* =========================================================================
   LUXURY BANNER STYLES (HOMEPAGE)
   ========================================================================= */

.luxury-banners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.luxury-banners-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.luxury-banners-eyebrow,
.luxury-mini-banner-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 800;
    color: #6e5d57;
    margin: 0 0 8px;
}

.luxury-banners-title {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    max-width: 560px;
    line-height: 1.15;
}

.luxury-nav-arrow {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a1a;
    font-size: 20px;
    line-height: 1;
    transition: all 0.3s ease;
}

.luxury-nav-arrow:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* Viewport and Slider */
.luxury-banners-viewport {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding-bottom: 20px; 
}
.luxury-banners-viewport::-webkit-scrollbar {
    display: none;
}

.luxury-banners-slider {
    display: grid;
    grid-auto-flow: column;
    gap: 20px;
}

/* MAIN BANNER CARD */
.luxury-banner-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    scroll-snap-align: start;
}
.luxury-banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.luxury-banner-media {
    position: relative;
    width: 100%;
    padding-top: 45%; /* Wide elegant ratio for main banners */
    background-color: #f5f5f5;
    overflow: hidden;
}
.luxury-banner-media img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.luxury-banner-card:hover .luxury-banner-media img {
    transform: scale(1.03);
}

.luxury-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

.luxury-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    z-index: 2;
}

.luxury-banner-title {
    font-size: clamp(24px, 3vw, 36px);
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
}

.luxury-banner-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    transition: background 0.3s ease;
}
.luxury-banner-card:hover .luxury-banner-cta {
    background: rgba(255, 255, 255, 0.3);
}

/* =========================================================================
   HOME SPECIAL SECTION — "Sevdiklerine Aynı Gün"
   ========================================================================= */

.home-special-section {
    background: #f9f4ef;
    margin-top: 60px;
    padding: 70px 0;
    overflow: hidden;
}

.home-special-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Products side — takes 2/3 of width */
.home-special-products {
    flex: 2;
    min-width: 0;
}

.home-special-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Text side — takes 1/3 of width */
.home-special-text {
    flex: 1;
    min-width: 0;
}

.home-special-eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: #9c7c6e;
    margin: 0 0 14px;
    display: block;
}

.home-special-title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 600;
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    line-height: 1.2;
    color: #2c2c2c;
    margin: 0 0 28px;
}

.home-special-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #7e3739;
    text-decoration: none;
    border-bottom: 2px solid #7e3739;
    padding-bottom: 3px;
    transition: color 0.25s, border-color 0.25s, gap 0.25s;
}
.home-special-cta:hover {
    color: #5a2528;
    border-color: #5a2528;
    gap: 12px;
}
.home-special-cta svg {
    flex-shrink: 0;
    transition: transform 0.25s;
}
.home-special-cta:hover svg {
    transform: translateX(3px);
}

/* ── Tablet ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .home-special-inner {
        padding: 0 30px;
        gap: 40px;
    }
}

/* ── Mobile — creative horizontal scroll carousel ─── */
@media (max-width: 768px) {
    .home-special-section {
        padding: 0 0 36px;
        margin-top: 48px;
    }

    .home-special-inner {
        flex-direction: column;
        padding: 0;
        gap: 0;
        align-items: stretch;
    }

    /* Title block moves to top */
    .home-special-text {
        order: -1;
        text-align: center;
        padding: 36px 24px 24px;
        position: relative;
    }
    /* decorative accent line above eyebrow */
    .home-special-text::before {
        content: '';
        display: block;
        width: 40px;
        height: 3px;
        background: #9c7c6e;
        border-radius: 2px;
        margin: 0 auto 16px;
    }

    .home-special-eyebrow {
        margin-bottom: 10px;
    }

    .home-special-title {
        font-size: clamp(22px, 6vw, 30px);
        margin-bottom: 18px;
    }

    /* Products become horizontal scroll strip */
    .home-special-products {
        order: 1;
        width: 100%;
    }

    .home-special-strip {
        display: flex !important;
        grid-template-columns: unset !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 4px 20px 4px;
        /* Fade indicator on right edge showing there's more */
        -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
        mask-image: linear-gradient(to right, black 80%, transparent 100%);
    }
    .home-special-strip::-webkit-scrollbar {
        display: none;
    }

    .home-special-product-item {
        flex: 0 0 calc(50vw - 36px) !important;
        min-width: 130px !important;
        max-width: 200px !important;
        scroll-snap-align: start;
    }
}

@media (max-width: 480px) {
    .home-special-product-item {
        flex: 0 0 calc(50vw - 28px) !important;
    }
}

/* =========================================================================
   PREMIUM HOMEPAGE CAROUSEL
   ========================================================================= */

.luxury-carousel-section {
    margin: 60px 0;
}

.luxury-carousel-outer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.luxury-carousel-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.10);
    outline: none;
}

/* Track — all slides in one row */
.luxury-carousel {
    display: flex;
    transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.luxury-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.luxury-carousel-slide a {
    display: block;
    text-decoration: none;
    color: #fff;
}

/* Image media box */
.luxury-carousel-media {
    position: relative;
    width: 100%;
    padding-top: 44%;   /* ~2.27:1 — wide, cinematic */
    background-color: #f5ebe0;
    overflow: hidden;
}
@media (max-width: 900px) {
    .luxury-carousel-media { padding-top: 60%; }
}
@media (max-width: 600px) {
    .luxury-carousel-media { padding-top: 85%; }
}
@media (max-width: 420px) {
    .luxury-carousel-media { padding-top: 110%; }
}

.luxury-carousel-media img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s ease;
}
.luxury-carousel-slide a:hover .luxury-carousel-media img {
    transform: scale(1.04);
}

/* Dark gradient overlay */
.luxury-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 0, 0, 0.08) 40%,
        rgba(0, 0, 0, 0.55) 85%,
        rgba(0, 0, 0, 0.68) 100%
    );
    pointer-events: none;
}

/* Text overlay */
.luxury-carousel-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 52px 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    z-index: 2;
}
@media (max-width: 768px) {
    .luxury-carousel-content { padding: 36px 32px; gap: 14px; }
}
@media (max-width: 480px) {
    .luxury-carousel-content { padding: 24px 22px; gap: 12px; }
}

.luxury-carousel-eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.luxury-carousel-title {
    font-size: clamp(22px, 3.6vw, 46px);
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
    max-width: 620px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.20);
}

.luxury-carousel-cta {
    display: inline-flex;
    align-items: center;
    padding: 13px 30px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.40);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
}
.luxury-carousel-slide a:hover .luxury-carousel-cta {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

/* Prev / Next arrows */
.luxury-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px; height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.88);
    color: #1a1a1a;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}
.luxury-carousel-wrap:hover .luxury-carousel-arrow,
.luxury-carousel-wrap:focus-within .luxury-carousel-arrow {
    opacity: 1;
}
.luxury-carousel-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}
.luxury-carousel-prev { left: 20px; }
.luxury-carousel-next { right: 20px; }
@media (max-width: 600px) {
    .luxury-carousel-arrow { width: 40px; height: 40px; font-size: 22px; opacity: 1; }
    .luxury-carousel-prev { left: 12px; }
    .luxury-carousel-next { right: 12px; }
}

/* Dot indicators */
.luxury-carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.luxury-carousel-dot {
    width: 10px; height: 10px;
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s ease;
}
.luxury-carousel-dot.active {
    background: #fff;
    border-color: #fff;
    width: 28px;
}

/* MINI BANNER ITEM */
.luxury-mini-banner-link {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    border: 1px solid #f0e6df;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}
.luxury-mini-banner-link:hover {
    transform: translateY(-4px);
    border-color: #dfcdbf;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.luxury-mini-banner-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 60%; /* Slightly smaller ratio for mini banners */
    overflow: hidden;
    border-radius: 6px;
    background: #fafafa;
}
.luxury-mini-banner-image-wrap img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.luxury-mini-banner-link:hover .luxury-mini-banner-image-wrap img {
    transform: scale(1.04);
}

.luxury-mini-banner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 5px 10px;
    flex-grow: 1;
}

.luxury-mini-banner-item-title {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: auto;
}

.luxury-mini-banner-cta {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    display: inline-block;
    position: relative;
    margin-top: 10px;
}
.luxury-mini-banner-cta::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 1px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}
.luxury-mini-banner-link:hover .luxury-mini-banner-cta::after {
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .luxury-banners-slider {
        grid-auto-columns: calc((100% - 20px) / 2) !important;
    }
    .luxury-banners-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .luxury-banners-slider {
        grid-auto-columns: 100% !important;
    }
    .luxury-banners-nav {
        display: none !important;
    }
    .luxury-banner-content {
        padding: 25px;
    }
    .luxury-banner-title {
        font-size: 22px;
    }
    .luxury-mini-banner-image-wrap {
        padding-top: 70%;
    }

    /* ── 1. Slider bottom whitespace fix ── */
    .slick-dotted.slick-slider {
        margin-bottom: 0 !important;
    }
    .slider-single .slick-dots {
        bottom: 8px !important;
    }
    .slider-single .slick-dots li {
        width: 8px !important;
        height: 8px !important;
        margin: 0 3px !important;
    }
    .slider-single .slick-dots li button:before {
        font-size: 8px !important;
    }

    /* ── 2. Stock badge compact on mobile ── */
    .product_resimdiv > a > div[style*="absolute"] {
        font-size: 9px !important;
        padding: 3px 6px !important;
        border-radius: 4px !important;
    }
    .product_resimdiv > a > div[style*="absolute"][style*="bottom:10px"] {
        bottom: 6px !important;
        left: 6px !important;
    }

    /* ── 5. Checkout responsive grid ── */
    .checkout-grid-main {
        grid-template-columns: 1fr !important;
    }
    .checkout-gifts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .checkout-gifts-grid .gift-item img {
        height: 50px !important;
    }
    .checkout-gifts-grid .gift-item {
        padding: 8px !important;
    }
    .checkout-payment-options {
        gap: 10px !important;
    }
    .checkout-payment-options .payment-option {
        padding: 14px !important;
    }
    /* Checkout summary column: remove sticky on mobile so it stacks normally */
    .checkout-grid-main > div:last-child {
        position: static !important;
        top: auto !important;
    }
    /* Compact gift names */
    .checkout-gifts-grid .gift-item div[style*="font-size: 12px"] {
        height: auto !important;
        line-height: 1.3 !important;
    }
    /* Stack two-column form rows */
    .checkout-form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    /* Reduce checkout summary padding */
    .checkout-summary-panel {
        padding: 20px 16px !important;
    }

    /* ── Iyzico Payment Container ── */
    .checkout-payment-container {
        padding: 16px 8px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .checkout-payment-container h2 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    #iyzipay-checkout-form iframe,
    #iyzipay-checkout-form > div,
    .checkout-payment-container iframe {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ── Account Pages Layout ── */
    .account-page-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .account-page-grid > aside:first-child,
    .account-page-grid > aside {
        order: -1 !important;
        border-radius: 10px !important;
    }
    .account-page-grid > aside:first-child > div:first-child,
    .account-page-grid > aside > div:first-child {
        padding: 16px !important;
    }
    .account-page-grid > aside:first-child > div:first-child > div:first-child,
    .account-page-grid > aside > div:first-child > div:first-child {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }
    .account-page-grid nav {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        padding: 10px !important;
        justify-content: center !important;
    }
    .account-page-grid nav a,
    .account-page-grid nav button {
        display: inline-flex !important;
        align-items: center !important;
        padding: 6px 12px !important;
        border-left: none !important;
        border-radius: 20px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
        background: #f8f7f5 !important;
    }
    .account-content-panel {
        padding: 20px 14px !important;
        border-radius: 10px !important;
    }
    .account-content-panel h2 {
        font-size: 18px !important;
        margin-bottom: 18px !important;
        padding-bottom: 10px !important;
    }

    /* Account tables → card-like rows */
    .account-content-panel table {
        display: block !important;
        width: 100% !important;
    }
    .account-content-panel thead {
        display: none !important;
    }
    .account-content-panel tbody,
    .account-content-panel tr {
        display: block !important;
        width: 100% !important;
    }
    .account-content-panel tbody tr {
        background: #fafafa !important;
        border-radius: 10px !important;
        padding: 14px !important;
        margin-bottom: 12px !important;
        border: 1px solid #eee !important;
    }
    .account-content-panel td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 6px 0 !important;
        border-bottom: 1px dashed #e5e5e5 !important;
        font-size: 13px !important;
    }
    .account-content-panel td:last-child {
        border-bottom: none !important;
    }
    .account-content-panel td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        font-size: 11px;
        text-transform: uppercase;
    }

    /* Wishlist grid inside account */
    .account-content-panel .product-item {
        min-width: 0 !important;
    }
    .account-content-panel > div[style*="auto-fill"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    /* Address cards */
    .account-content-panel .form-group + div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    .account-content-panel section + div[style*="auto-fill"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Address modal mobile */
    #addressModal > div {
        width: 95% !important;
        padding: 20px !important;
        border-radius: 12px !important;
    }
    #addressModal h3 {
        font-size: 18px !important;
    }
    #addressModal .form-group {
        margin-bottom: 12px !important;
    }
    #addressModal div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    #addressModal button[type="submit"],
    #addressModal button[type="button"] {
        padding: 10px !important;
        font-size: 14px !important;
    }

    /* Profile page form stacking */
    .account-content-panel form > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Order detail page grids */
    .account-content-panel > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .account-content-panel > div > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    /* Reset grid-column span on mobile when user not logged in */
    .account-page-grid .account-content-panel[style*="grid-column"] {
        grid-column: auto !important;
    }
}
