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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

:root {
    --brand-primary: #0182e9;
    --brand-primary-hover: #0164bb;
    --brand-primary-soft: #5ab5ff;
    --brand-primary-rgb: 1, 130, 233;
    --brand-primary-tint: rgba(var(--brand-primary-rgb), 0.08);
    --brand-gradient-start: #0182e9;
    --brand-gradient-end: #01c5ff;
    --brand-gradient-webkit: -webkit-linear-gradient(120deg, var(--brand-gradient-start), var(--brand-gradient-end));
    --brand-gradient: linear-gradient(120deg, var(--brand-gradient-start), var(--brand-gradient-end));
    --brand-gradient-hover-start: #01a2ff;
    --brand-gradient-hover-end: #02e0ff;
    --brand-gradient-hover-webkit: -webkit-linear-gradient(120deg, var(--brand-gradient-hover-start), var(--brand-gradient-hover-end));
    --brand-gradient-hover: linear-gradient(120deg, var(--brand-gradient-hover-start), var(--brand-gradient-hover-end));
    --brand-primary-focus-ring: rgba(var(--brand-primary-rgb), 0.24);
}
a{
    text-decoration:none;
    color:var(--brand-primary);
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--brand-primary-hover);
}
html, body { overflow-x: hidden; }

.main-header {
    max-width: 1400px;
    margin: 20px auto;
}

.header-container {
    background-color: white;
    border-radius: 20px;
    padding: 15px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e6e6e68f;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 40px;
    width: auto;
}

.navigation {
    display: flex;
    gap: 20px;
    align-items: center;
    transition: transform .25s ease;
    transform: translateX(var(--nav-shift-x, 0));
}

.nav-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--brand-primary-hover);
}

.cta-button {
    background-image: var(--brand-gradient-webkit);
    background-image: linear-gradient(120deg, var(--brand-gradient-start), var(--brand-gradient-end));
    color: #fff;
    background-color: var(--brand-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover,
.cta-button:focus {
    background-image: var(--brand-gradient-hover-webkit);
    background-image: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(var(--brand-primary-rgb), 0.4);
}

.phone-icon {
    width: 25px;
    height: 25px;
}
.menu-icon {
    width: 25px;
    height: 25px;
}
.header-action {
    display: flex;
    gap: 20px;
    align-items: center;

}
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;

}

/* Header search (expand left) */
.search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.10);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    cursor: pointer;
}

.search-input {
    position: absolute;
    right: 44px; /* to the left of the icon button */
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.10);
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    width: 0;
    opacity: 0;
    padding: 0;
    outline: none;
    transition: width .25s ease, opacity .2s ease, padding .25s ease;
    pointer-events: none;
    color: #111827;
    font-size: 14px;
}

.search.open .search-input {
    width: 260px;
    opacity: 1;
    padding: 0 12px;
    pointer-events: auto;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .main-header {
        max-width: 1400px;
    }
}

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

.topbar {
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.topbar .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    gap: 30px;
}

.topbar-right {
    display: flex;
}

.topbar-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

.topbar-link:hover,
.topbar-link:focus {
    color: var(--brand-primary-hover);
}

/* Hero Section */
.hero-section {
    max-width: 1400px;
    margin: 0 auto 40px;

}

/* Hero Grid with right-side box */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 16px;
    align-items: stretch;
}

.hero-aside {
    border-radius: 20px;
    background-color: #f3f4f6;
    background-image: url('../icon/baskı-hesaplama-asistanı.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80% auto; /* slightly smaller visual */
    display: grid;
    place-items: center;
    position: relative;
    min-height: 100%;
    border: 1px solid rgba(0,0,0,0.06);
}

/* .hero-aside-btn removed; use .cta-button directly on the element */

.hero-slider {
    background: transparent;
    padding: 0;
    position: relative;
    display: grid;
}

/* New slider structure */
.hero-viewport {
    overflow: hidden;
    border-radius: 20px;
    height: 420px; /* stabilize hero height so aside matches */
}

.hero-track {
    display: flex;
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    flex: 0 0 100%;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: none;
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-50%);
}

.slider-arrow-left { left: 12px; }
.slider-arrow-right { right: 12px; }

.hero-content {
    display: block;
}

.hero-image {
    width: 100%;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

/* References Section */
.references-section {
    max-width: 1400px;
    margin: 16px auto 32px;
}

/* .references block removed (was empty) */

.references-title {
    font-size: 18px;
    line-height: 1.4;
    color: #6b7280;
    text-align: center;
    margin-bottom: 12px;""
}

/* Auto-scrolling refs */
.refs-viewport {
    position: relative;
    overflow: hidden;
}

.refs-viewport::before,
.refs-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 56px;
    pointer-events: none;
    z-index: 1;
}

.refs-viewport::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.refs-viewport::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.refs-track {
    display: flex;
    align-items: center;
    gap: 40px;
    will-change: transform;
    width: max-content;
    backface-visibility: hidden;
    transform: translate3d(0,0,0);
    animation: none;
}

@keyframes refs-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.ref-logo {
    height: 28px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.75;
    display: block;
}

.refs-viewport:hover .refs-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .refs-viewport::before,
    .refs-viewport::after { width: 32px; }
    .refs-track { gap: 24px; }
    .ref-logo { height: 22px; }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .hero-section {
        max-width: 1400px;
    }
}

@media (max-width: 1024px) {
    .slider-arrow {
        display: none;
    }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-viewport { height: 300px; }
    .hero-aside { min-height: 220px; }
}

/* dynamic shift via --nav-shift-x; values set in JS */

@media (max-width: 768px) {
}

/* Products Section */
.products-section {
    max-width: 1400px;
    margin: 24px auto 60px;
    padding: 0 20px;
}

.products-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* Horizontal products carousel */
.products-carousel { position: relative; }
.products-carousel .products-viewport { overflow-x: clip; }
.products-carousel.overlay-right .products-viewport { padding-right: 16px; padding-left: 16px; }
.products-carousel .products-track {
    display: flex;
    gap: 16px;
    will-change: transform;
    transition: transform .45s ease;
}

/* Fix card width inside carousel to enable consistent scrolling */
.products-carousel .product-card { width: 260px; flex: 0 0 auto; }

/* Neutralize carousel layout for non-auto (upper) section */
.products-carousel.no-auto .products-viewport { overflow: visible; padding: 0; }
.products-carousel.no-auto .products-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; transform: none !important; transition: none; }
.products-carousel.no-auto .product-card { width: auto; flex: 1 1 auto; }

/* Left white gradient overlay covering up to around the 4th product */
.products-overlay {position: absolute;inset: 0;padding: 15px;}
.products-overlay::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(42%, 560px);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 35%, rgba(255,255,255,0.0) 100%);
    z-index: 9;
}

/* Overlay card for custom artwork */
.overlay-card {
    position: relative;
    float: right;
    width: 25%;
    height: 100%;
    min-height: 180px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 11px rgb(0 0 0 / 8%);
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
    z-index: 9;
}

/* Right-side variant: gradient and card anchored to the right */
.products-carousel.overlay-right .products-overlay::before {
  left: auto;
  right: 0;
  width: min(42%, 560px);
  background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 35%, rgba(255,255,255,0.0) 100%);
}
.products-carousel.overlay-right .overlay-card {
  left: auto;
  right: 24px;
}

/* Overlay content styles */
.overlay-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px;
}
.overlay-title {
  font-size: clamp(28px, 4.2vw, 30px);
  line-height: 1.05;
  font-weight: 700;
  color: #0b2540;
  letter-spacing: -0.02em;
}
.overlay-title span { display: inline-block; }
.overlay-desc {
  margin-top: 21px;
  max-width: 34ch;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.5;
}
.overlay-cta {
  margin-top: auto;
  align-self: flex-start;
}
.overlay-cta:hover { transform: translateY(-1px); }

@media (max-width: 900px) {
  .products-carousel .product-card { width: 220px; }
  .overlay-card { position: static; width: 100%; height: 180px; margin: 12px 0 0; }
  .products-overlay::before { width: 55%; }
}

@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .products-grid { grid-template-columns: 1fr; }
}

.product-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.10);
}

.card-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.15);
}

.favorite-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent url('../icon/heart.svg') no-repeat center / contain;
    cursor: pointer;
}

.favorite-btn:hover {
    background-image: url('../icon/heart-on.svg');
}

.product-image {
    background: #f8fafc;
    display: grid;
    place-items: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.card-body {padding: 14px 16px 0;}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.vendor-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
}

.vendor-badge img { height: 16px; width: auto; }

.rating {display: inline-flex;background: #eeeeee;border-radius: 8px;padding: 13px;align-items: center;gap: 6px;color: #6b7280;font-size: 12px;/* border-left: 1px solid rgba(0,0,0,0.12); */}
.rating .star { width: 16px; height: 16px; fill: #f59e0b; }

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 6px 0 10px;
}

.product-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.card-tags .chip {
    font-size: 12px;
    padding: 4px 10px;
    background: #f3f4f6;
}

.card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 15px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    align-items: center;
}

.meta-item { display: grid; gap: 2px; }
.meta-label {color: #6b7280;font-size: 15px;}
.meta-value {color: #111827;font-size: 18px;font-weight: 600;}

.card-footer {
    display: flex;
    align-items: center;
    padding: 0 16px 16px;
    justify-content: center;
}

.more-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.10);
    background: #fff;
    display: grid;
    place-items: center;
}
.more-btn svg { width: 18px; height: 18px; stroke: #111827; fill: none; stroke-width: 2; }
.more-btn:hover { border-color: var(--brand-primary); }
.more-btn:hover svg { stroke: var(--brand-primary); }

.import-btn {
    height: 40px;
    width: 100%;
    border-radius: 10px;
    border: none;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(180deg, #1f2937 0%, #0b1020 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 16px rgba(0,0,0,0.18);
    text-align: center;
    text-decoration: none;
    line-height: 40px;
}

.import-btn:hover,
.import-btn:focus {
    color: #fff;
}

/* Feature Band */
.feature-band {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.feature-wrap {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 24px;
    align-items: center;
}

.feature-intro { padding: 8px 0; }
.feature-eyebrow { font-size: 28px; color: #4b5563; margin-bottom: 6px; font-weight: 400; }
.feature-heading { font-size: 40px; line-height: 1.1; margin: 0 0 14px; color: #111827; font-weight: 700; }
.feature-desc { font-size: 16px; color: #6b7280; line-height: 1.7; }

@media (max-width: 1000px) {
  .feature-wrap { grid-template-columns: 1fr; }
}

/* Interactive 3-card layout (grid with animated column ratios) */
.feature-grid {
    display: grid;
    grid-template-columns: 8fr 1fr 1fr; /* middle open by default */
    gap: 16px;
    align-items: stretch;
    transition: grid-template-columns .35s ease;
}

/* Card base */
.feature-card {
    min-height: 360px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background-image: var(--brand-gradient-webkit);
    background-image: linear-gradient(120deg, var(--brand-gradient-start), var(--brand-gradient-end));
    transition: box-shadow .25s ease, transform .25s ease;
}

.feature-card:hover, .feature-card:focus-within { box-shadow: 0 14px 34px rgba(0,0,0,0.16); transform: translateY(-2px); }

/* Default open state (middle) */
.feature-card.active .feature-copy,
.feature-card.active .feature-media { opacity: 1; transform: translateY(0); }

.feature-card-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    height: 100%;
    padding: 24px;
    color: #fff;
}

.feature-title { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.feature-list { list-style: none; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 16px; opacity: .95; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.9); }

.feature-media { display: flex; justify-content: center; align-items: center; }
.feature-media-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 14px 34px rgba(0,0,0,0.16);
    padding: 8px;
    max-width: 520px;
    width: 100%;
}
.feature-media-card img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 10px; }

/* Collapsed/expanded visuals: only expanded shows content */
.feature-grid .feature-card .feature-copy, 
.feature-grid .feature-card .feature-media { opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.feature-card.active .feature-copy, .feature-card.active .feature-media,
.feature-card:hover .feature-copy, .feature-card:focus-within .feature-copy,
.feature-card:hover .feature-media, .feature-card:focus-within .feature-media { opacity: 1; transform: translateY(0); }

/* If any card is hovered/focused, hide the active card's content unless it is the hovered/focused one */
.feature-grid:has(.feature-card:hover) .feature-card.active:not(:hover):not(:focus-within) .feature-copy,
.feature-grid:has(.feature-card:hover) .feature-card.active:not(:hover):not(:focus-within) .feature-media,
.feature-grid:has(.feature-card:focus-within) .feature-card.active:not(:hover):not(:focus-within) .feature-copy,
.feature-grid:has(.feature-card:focus-within) .feature-card.active:not(:hover):not(:focus-within) .feature-media {
    opacity: 0;
    transform: translateY(6px);
}

/* Grid column ratios on hover/focus (requires :has support) */
.feature-grid:has(.feature-card:nth-child(1):hover),
.feature-grid:has(.feature-card:nth-child(1):focus-within) { grid-template-columns: 8fr 1fr 1fr; }
.feature-grid:has(.feature-card:nth-child(2):hover),
.feature-grid:has(.feature-card:nth-child(2):focus-within) { grid-template-columns: 1fr 8fr 1fr; }
.feature-grid:has(.feature-card:nth-child(3):hover),
.feature-grid:has(.feature-card:nth-child(3):focus-within) { grid-template-columns: 1fr 1fr 8fr; }

/* Remove old side box usage; cards now handle all visuals */

@media (max-width: 1200px) {
    .feature-card { min-height: 320px; }
}

@media (max-width: 900px) {
    .feature-grid { display: grid; grid-template-columns: 1fr; }
    .feature-card { min-height: 220px; }
    .feature-card-inner { grid-template-columns: 1fr; gap: 12px; }
}

/* Headline Marquee */
.headline-marquee {
    width: 100%;
    margin: 20px 0 60px;
    padding: 0;
    overflow: visible; /* bu bölümde iç scroll oluşmasın */
    position: relative; /* üzerine kartları konumlandırmak için */
}

.marquee {
    position: relative;
    overflow: hidden; /* yerel scrollbarı engelle */
    background: transparent;
    color: inherit;
    border-radius: 0;
    padding: 140px 0; /* kartlar için üst boşluk + altta dönen yazı görünümü */
    box-shadow: none;
}

/* Marquee üstüne yerleşecek 3 görsel kart */
.marquee-cards {
    position: absolute; /* yazının ÜZERİNE yerleşsin */
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; /* metnin üstünde */
    width: 100%;
    max-width: 1400px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    pointer-events: auto;
}

.marquee-card {
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    aspect-ratio: 16 / 9; /* örnekteki gibi yatay kart */
    display: block;
}

.marquee-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.marquee-card:hover { transform: translateY(-2px); transition: transform .2s ease; }

@media (max-width: 900px) {
    .marquee-cards { grid-template-columns: 1fr; position: static; transform: none; width: auto; max-width: none; padding: 0 20px; margin: 12px auto 24px; }
    .marquee { padding: 80px 0; }
}

.marquee-track {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: 50% 50%;
    transform: translate(-50%, -50%) rotate(var(--tilt));
    --tilt: 0deg;
}

.marquee:hover .marquee-inner { animation-play-state: paused; }

/* Layering: outline below, fill above */
.marquee-track--outline { z-index: 1; --tilt: 4deg; }
.marquee-track--fill { z-index: 2; --tilt: -5deg; }

.marquee-item { font-size: 30px; font-weight: 700; letter-spacing: 0.2px; line-height: 1; display: inline-block; padding-right: 120px; }
.marquee-sep { color: #c9cdd6; opacity: 0.9; padding: 0 8px; font-weight: 700; display: inline-block; }

/* Outline (stroke) style */
.marquee-track--outline .marquee-item { color: transparent; -webkit-text-stroke: 1px #c9cdd6; }
.marquee-track--outline .marquee-sep { color: #c9cdd6; opacity: 0.5; }

/* Filled light-gray top layer */
.marquee-track--fill .marquee-item { color: #c9cdd6; }
.marquee-track--fill .marquee-sep { color: #c9cdd6; opacity: 0.9; }

/* Inner scroller keeps intersection fixed at center */
.marquee-inner {
    display: flex;
    align-items: center;
    gap: 0; /* tek metin tekrarında dikiş hattını gizlemek için boşluk yok */
    width: max-content;
    white-space: nowrap;
    will-change: transform;
    animation: marquee-inner-scroll 3s linear infinite;
}

@keyframes marquee-inner-scroll {
    0% { transform: translate3d(0,0,0); }
    100% { transform: translate3d(-20%, 0, 0); }
}

@media (max-width: 768px) {
    .marquee-item { font-size: 16px; }
    .marquee-track { gap: 24px; }
}

/* FAQ (SSS) */
.faq-section { padding: 60px 20px 90px; }
.faq-container { max-width: 920px; margin: 0 auto; }
.faq-eyebrow { text-align: center; color: #6b7280; margin: 0 0 8px; font-weight: 500; }
.faq-heading { text-align: center; font-size: 42px; line-height: 1.15; margin: 0 0 10px; color: #111827; font-weight: 700; }
.faq-sub { text-align: center; color: #6b7280; margin-bottom: 24px; }

.faq-search { display: flex; justify-content: center; margin-bottom: 28px; }
.faq-search-input { width: 100%; max-width: 520px; height: 46px; border-radius: 12px; padding: 0 14px 0 40px; border: 1px solid rgba(0,0,0,.12); background: #fff url('../icon/search.svg') no-repeat 12px center / 18px 18px; outline: none; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-search-input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--brand-primary-focus-ring); }

.faq-list { border-top: 1px solid rgba(0,0,0,.08); }
.faq-item { border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-toggle { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 18px 8px; background: none; border: 0; cursor: pointer; }
.faq-question { font-weight: 700; font-size: 18px; color: #111827; text-align: left; }
.faq-icon { width: 22px; height: 22px; border-radius: 999px; border: 1px solid rgba(0,0,0,.2); position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: #111827; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .2s ease, opacity .2s ease; }
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after { width: 2px; height: 10px; }
.faq-item.faq-item--open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-content { overflow: hidden; max-height: 0; transition: max-height .35s ease, opacity .25s ease; opacity: 0; }
.faq-item.faq-item--open .faq-content {
    opacity: 1;
    max-height: 1000px;
}
.faq-content p { color: #4b5563; padding: 0 0 16px 0; }

@media (max-width: 640px) {
  .faq-heading { font-size: 32px; }
}

/* Footer */
.site-footer { border-top: 1px solid rgba(0,0,0,.08); margin-top: 60px; }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 28px 20px 36px; }

/* top line */
.footer-top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 12px 0 20px; border-bottom: 1px solid rgba(0,0,0,.06); }
.footer-brand img { height: 45px; width: auto; display: block; }
.footer-tagline { color: #0b2540; font-size: 14px; opacity: .9; }

/* mid zone */
.footer-mid { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 22px 0; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 200px); gap: 36px; }
.footer-title { font-size: 14px; font-weight: 700; color: #0b2540; margin-bottom: 10px; }
.footer-list { list-style: none; display: grid; gap: 8px; }
.footer-list a { color: #4b5563; text-decoration: none; font-size: 14px; }
.footer-list a:hover { color: #111827; }

.footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-contact li {display: grid;grid-template-columns: 22px 1fr;align-items: center;gap: 22px;color: #4b5563;font-size: 14px;}
.contact-ico {width: 35px;height: 35px;display: inline-grid;place-items: center;color: var(--brand-primary);background: var(--brand-primary-soft);border-radius: 50%;}
.footer-contact a { color: #4b5563; text-decoration: none; }
.footer-contact a:hover { color: #111827; }

.footer-actions { display: grid; justify-items: end; align-content: start; gap: 14px; }
.lang-selector { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(0,0,0,.12); background: #fff; color: #111827; font-size: 14px; cursor: pointer; min-width: 130px; justify-content: space-between; }
.lang-btn .globe { display: inline-grid; place-items: center; }
.lang-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.lang-dropdown {
    list-style: none;
    margin: 8px 0 0;
    padding: 8px 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 15px 35px rgba(15,23,42,.15);
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 160px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
    z-index: 10;
}
.lang-selector.is-open .lang-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.lang-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #111827;
    padding: 8px 16px;
    text-decoration: none;
}
.lang-option:hover { background: rgba(37,99,235,.08); }
.lang-option.is-active { font-weight: 600; }
.socials { display: inline-flex; gap: 10px; }
.soc { width: 34px; height: 34px; display: grid; place-items: center; color: #111827; background: #fff; border: 1px solid rgba(0,0,0,.12); border-radius: 8px; text-decoration: none; }
.soc:hover { background: #111; color: #fff; border-color: #111; }

/* bottom line */
.footer-bottom { border-top: 1px solid rgba(0,0,0,.06); display: grid; grid-template-columns: 1fr auto; align-items: center; padding-top: 16px; gap: 12px; }
.copy { color: #6b7280; font-size: 13px; }
.footer-legal { list-style: none; display: inline-flex; gap: 18px; }
.footer-legal a { color: #6b7280; text-decoration: none; font-size: 13px; }
.footer-legal a:hover { color: #111827; }

@media (max-width: 1100px) {
  .footer-cols { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
}
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr; gap: 8px; }
  .footer-mid { grid-template-columns: 1fr; }
  .footer-actions { justify-items: start; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* Page Hero */
.page-hero {
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    padding: 60px 20px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 20px;
    color: white;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Campaigns Section */
.campaigns-section {
    padding: 60px 20px;
}

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

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.campaign-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.campaign-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.campaign-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.campaign-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-image: var(--brand-gradient-webkit);
    background-image: linear-gradient(120deg, var(--brand-gradient-start), var(--brand-gradient-end));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.campaign-content {
    padding: 24px;
}

.campaign-title {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.campaign-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.campaign-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.campaign-price {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.campaign-expiry {
    font-size: 13px;
    color: #9ca3af;
}

.campaign-button {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.campaign-button:hover,
.campaign-button:focus {
    background: var(--brand-gradient-hover-webkit);
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(var(--brand-primary-rgb), 0.4);
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .campaigns-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about-section {
    padding: 60px 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.section-text {
    font-size: 16px;
    line-height: 1.8;
    color: #6b7280;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    border-radius: 16px;
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

.about-features {
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    border-radius: 12px;
    margin-bottom: 20px;
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
}

.about-values {
    margin-bottom: 40px;
}

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

.value-card {
    padding: 30px;
    background: white;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: border-color 0.3s, transform 0.3s;
}

.value-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
}

.value-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.value-text {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* Blog Section */
.blog-section {
    padding: 60px 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
}

.blog-date {
    color: #6b7280;
}

.blog-category {
    color: var(--brand-primary);
    font-weight: 500;
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 16px;
}

.blog-read-more {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.blog-read-more:hover {
    color: var(--brand-primary);
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-number:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.pagination-number.active {
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    border-color: var(--brand-primary);
    color: white;
}

.pagination-dots {
    color: #9ca3af;
    padding: 0 4px;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-pagination {
        flex-wrap: wrap;
    }
    
    .pagination-numbers {
        flex-wrap: wrap;
    }
}

/* Contact Section */
.contact-section {
    padding: 60px 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-cards {
    display: grid;
    gap: 20px;
}

.contact-card {
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(var(--brand-primary-rgb), 0.15);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    border-radius: 12px;
    margin-bottom: 16px;
    color: white;
}

.contact-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.contact-card-text {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 12px;
}

.contact-card-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.contact-card-link:hover {
    color: var(--brand-primary);
}

.working-hours {
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
}

.working-hours-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
}

.working-hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.working-hours-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.working-hours-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.working-day {
    font-size: 15px;
    color: #111827;
    font-weight: 500;
}

.working-time {
    font-size: 15px;
    color: #6b7280;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.form-input {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    transition: border-color 0.2s;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    padding: 14px 28px;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
}

.form-submit:hover,
.form-submit:focus {
    background: var(--brand-gradient-hover-webkit);
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(var(--brand-primary-rgb), 0.4);
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 24px;
    }
}

/* Favorites Section */
.favorites-section {
    padding: 60px 20px;
}

.favorites-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.favorites-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.count-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-primary);
}

.count-text {
    font-size: 16px;
    color: #6b7280;
}

.clear-favorites-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.clear-favorites-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.favorites-grid {
    margin-bottom: 40px;
}

.favorites-grid .products-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.favorites-grid .product-card {
    width: auto;
    flex: 1 1 auto;
}

.favorite-btn.active {
    background-color: transparent;
    border: none;
}

.favorite-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.empty-favorites {
    text-align: center;
    padding: 80px 20px;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-title {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.empty-text {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.empty-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.empty-btn:hover,
.empty-btn:focus {
    background: var(--brand-gradient-hover-webkit);
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(var(--brand-primary-rgb), 0.4);
}

@media (max-width: 1200px) {
    .favorites-grid .products-track {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .favorites-grid .products-track {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .favorites-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .favorites-grid .products-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .favorites-grid .products-track {
        grid-template-columns: 1fr;
    }
}

/* Corporate Section */
.corporate-section {
    padding: 60px 20px;
}

.corporate-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.corporate-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    padding: 30px;
    background: white;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(var(--brand-primary-rgb), 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    border-radius: 16px;
    color: white;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.service-description {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
}

.corporate-products {
    margin-bottom: 80px;
}

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

.corporate-product-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.corporate-product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
}

.product-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 20px 20px 12px;
}

.product-item-text {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 20px 20px;
}

.corporate-cta {
    text-align: center;
    padding: 60px 40px;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    border-radius: 16px;
    color: white;
}

.corporate-cta .section-title {
    color: white;
    margin-bottom: 16px;
}

.corporate-cta .section-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.corporate-cta .cta-button {
    background: white;
    color: var(--brand-primary);
}

.corporate-cta .cta-button:hover {
    background: #f3f4f6;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .corporate-services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .corporate-services {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .corporate-cta {
        padding: 40px 24px;
    }
}

/* Login Section */
.login-section {
    padding: 80px 20px;
    min-height: calc(100vh - 400px);
}

.auth-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.auth-left {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-tabs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.auth-tab {
    font-size: 16px;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 4px;
}

.auth-tab.active {
    color: #111827;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-primary);
    border-radius: 2px;
}

.auth-tab-separator {
    font-size: 14px;
    color: #9ca3af;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper .form-input {
    padding-right: 80px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
}

.password-toggle:hover {
    color: #111827;
}

.forgot-password {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: var(--brand-primary);
}

.auth-submit {
    padding: 14px 28px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    font-family: 'Inter', sans-serif;
    margin-top: 8px;
}

.auth-submit:hover {
    background: #5568d3;
    transform: translateY(-1px);
}

.auth-right {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.membership-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.membership-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.membership-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 8px;
    color: var(--brand-primary);
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.benefit-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.optional-text {
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
    text-transform: none;
    letter-spacing: 0;
}

.checkbox-group {
    margin-top: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--brand-primary);
}

.checkbox-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.phone-wrapper {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
}

.phone-country {
    width: 100%;
}

.phone-number {
    width: 100%;
}

.phone-help {
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.checkbox-link {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.checkbox-link:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}

.form-footer-text {
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    line-height: 1.6;
}

.form-link {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.form-link:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}

.auth-footer-link {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.auth-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.auth-link:hover {
    color: var(--brand-primary);
}

@media (max-width: 768px) {
    .auth-left,
    .auth-right {
        padding: 32px 24px;
    }
    
    .auth-tabs {
        flex-wrap: wrap;
    }
    
    .phone-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Cart Section */
.cart-section {
    padding: 60px 20px;
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.cart-items {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.cart-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.clear-cart-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.clear-cart-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto 180px;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
    align-items: start;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.cart-item-spec {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.cart-item-actions {
    margin-top: 8px;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
}

.remove-item-btn:hover {
    color: #dc2626;
    text-decoration: underline;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #111827;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    border-color: var(--brand-primary);
    background: #f9fafb;
    color: var(--brand-primary);
}

.quantity-input {
    width: 60px;
    height: 36px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.price-unit {
    font-size: 13px;
    color: #9ca3af;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.summary-row.total {
    margin-top: 8px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 2px solid #e5e7eb;
}

.summary-label {
    font-size: 15px;
    color: #6b7280;
}

.summary-row.total .summary-label {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.summary-value {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.summary-row.total .summary-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-primary);
}

.summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 16px 0;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
    margin-bottom: 16px;
}

.checkout-btn:hover,
.checkout-btn:focus {
    background: var(--brand-gradient-hover-webkit);
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--brand-primary-rgb), 0.4);
}

.secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
}

.secure-payment svg {
    color: #10b981;
}

.promo-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.promo-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.promo-input-wrapper {
    display: flex;
    gap: 8px;
}

.promo-input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.promo-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
}

.promo-btn {
    padding: 12px 24px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
}

.promo-btn:hover {
    background: #5568d3;
}

@media (max-width: 1024px) {
    .cart-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 100px 1fr;
        gap: 16px;
    }
    
    .cart-item-quantity,
    .cart-item-price {
        grid-column: 2;
        margin-top: 12px;
    }
    
    .cart-item-quantity {
        justify-self: start;
    }
    
    .cart-item-price {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .cart-items {
        padding: 24px;
    }
    
    .cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
}

/* -- Diverge from reference UI: unique visual tweaks -- */
.login-section {
    /* soft radial/linear blend for subtle depth */
    background:
      radial-gradient(1200px 600px at 10% -10%, rgba(var(--brand-primary-rgb),0.06), transparent 60%),
      radial-gradient(800px 400px at 110% 0%, rgba(179,150,255,0.05), transparent 60%);
}

/* Pill-style tabs instead of underline */
.auth-tabs { border-bottom: none; gap: 10px; }
.auth-tab { padding: 8px 14px; border-radius: 9999px; border: 1px solid transparent; color: #6b7280; }
.auth-tab.active { background: var(--brand-primary-tint); color: var(--brand-primary); border-color: var(--brand-primary-soft); }
.auth-tab.active::after { content: none; }

/* Inputs: clearer radius and focus ring */
.auth-form .form-input {
    height: 44px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    width: 100%;
}
.auth-form .form-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px var(--brand-primary-focus-ring);
}
.password-toggle { border-radius: 8px; background: #f3f4f6; }

/* Right pane gets a tinted background & border */
.auth-right { background: #f8fbff; border: 1px solid #e6f0ff; }

/* Benefits in 2 columns on desktop for quicker scan */
.membership-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .membership-benefits { grid-template-columns: 1fr; } }

/* Submit as outlined-on-hover gradient button for distinction */
.auth-submit {
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    box-shadow: 0 6px 20px rgba(var(--brand-primary-rgb), .25);
}
.auth-submit:hover,
.auth-submit:focus {
    background: var(--brand-gradient-hover-webkit);
    background: var(--brand-gradient-hover);
    filter: saturate(1.05) brightness(1.02);
}

/* Legal Pages */
.legal-section { padding: 60px 20px; }
.legal-wrap { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 32px; }
.legal-sidenav { position: sticky; top: 20px; align-self: start; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.legal-nav-title { font-size: 14px; font-weight: 700; color: #0b2540; margin-bottom: 10px; }
.legal-nav { list-style: none; display: grid; gap: 8px; }
.legal-nav a { color: #4b5563; text-decoration: none; font-size: 14px; padding: 6px 8px; border-radius: 8px; display: block; }
.legal-nav a:hover { background: #f3f4f6; color: #111827; }
.legal-nav a.active { background: var(--brand-primary-tint); color: var(--brand-primary); border: 1px solid var(--brand-primary-soft); }
.legal-content { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 28px; box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.legal-h1 { font-size: 32px; font-weight: 800; margin-bottom: 12px; color: #111827; }
.legal-updated { font-size: 13px; color: #6b7280; margin-bottom: 22px; }
.legal-h2 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; color: #111827; }
.legal-p { font-size: 15px; color: #374151; line-height: 1.8; margin: 10px 0; }
.legal-ul { padding-left: 18px; display: grid; gap: 6px; }
.legal-ul li { color: #374151; font-size: 15px; line-height: 1.8; }
@media (max-width: 980px){ .legal-wrap { grid-template-columns: 1fr; } .legal-sidenav { position: static; } }

/* Templates (PDF Dielines) */
.templates-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.templates-title { font-size: 24px; font-weight: 800; color: #111827; }
.templates-actions { display: flex; gap: 10px; }
.templates-btn { padding: 10px 14px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; color: #111827; font-size: 14px; cursor: pointer; transition: all .2s; }
.templates-btn.primary { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.templates-btn:hover { background: #f9fafb; }
.templates-btn.primary:hover { filter: brightness(0.98); }

.templates-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.chip { padding: 6px 10px; border: 1px solid #e5e7eb; border-radius: 9999px; font-size: 13px; color: #374151; cursor: pointer; background: #fff; }
.chip.active { background: var(--brand-primary-tint); color: var(--brand-primary); border-color: var(--brand-primary-soft); }

.templates-search { position: relative; margin-bottom: 16px; }
.templates-input { width: 100%; height: 42px; border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.templates-input:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 4px var(--brand-primary-focus-ring); }

.template-link { padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 13px; color: #374151; background: #fff; text-decoration: none; display: inline-block; }
.template-link.primary { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

.templates-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 18px; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.templates-table th, .templates-table td { padding: 12px 14px; font-size: 14px; text-align: left; }
.templates-table thead th { background: #f9fafb; color: #6b7280; font-weight: 600; border-bottom: 1px solid #e5e7eb; }
.templates-table tbody tr + tr { border-top: 1px solid #e5e7eb; }
.templates-table .cell-actions { display: flex; gap: 8px; }

/* Calculator Section */
.calculator-section {
    padding: 40px 20px 60px;
}

.breadcrumbs {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--brand-primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 6px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--brand-primary);
    margin: 0;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.calculator-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.calculator-left .calculator-card {
    background: #f3f4f6;
}

.calculator-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    background: transparent;
    padding: 0 0 12px;
    margin: 0 0 20px;
    border-radius: 0;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    overflow: hidden;
}

.form-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    min-width: 120px;
    max-width: 120px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.form-label-desc {
    font-size: 11px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.3;
}

.form-select,
.form-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #111827;
    background: white;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
}

.form-input-group {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}

.form-input-group .form-input {
    padding-right: 40px;
}

.input-suffix {
    position: absolute;
    right: 14px;
    font-size: 13px;
    color: #6b7280;
    pointer-events: none;
}

.form-input-group-double {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.form-input-group-double .form-input-group {
    flex: 1;
    min-width: 0;
}

.input-separator {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
    padding: 0 4px;
}

.calculator-submit {
    padding: 14px 28px;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
    margin-top: 8px;
}

.calculator-submit:hover,
.calculator-submit:focus {
    background: var(--brand-gradient-hover-webkit);
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--brand-primary-rgb), 0.4);
}

.pricing-card {
    background: white;
}

.pricing-card-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: #374151;
    padding: 12px 16px;
    margin: -24px -24px 20px;
    border-radius: 16px 16px 0 0;
    text-transform: uppercase;
}

.pricing-details {
    min-height: auto;
}

.pricing-empty {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.pricing-exchange-rate {
    background: #f3f4f6;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
}

.pricing-exchange-rate strong {
    color: #111827;
    font-weight: 600;
}

.pricing-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-total {
    background: #fce7f3;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-total-label {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.pricing-total-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-primary);
}

.pricing-label {
    color: #6b7280;
    font-size: 14px;
}

.pricing-value {
    color: #111827;
    font-weight: 600;
    font-size: 14px;
}

.pricing-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.pricing-action-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.pricing-action-btn.secondary {
    background: #6b7280;
    color: white;
}

.pricing-action-btn.secondary:hover {
    background: #4b5563;
}

.pricing-action-btn.primary {
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    color: white;
    text-transform: uppercase;
}

.pricing-action-btn.primary:hover,
.pricing-action-btn.primary:focus {
    background: var(--brand-gradient-hover-webkit);
    background: var(--brand-gradient-hover);
    filter: saturate(1.05) brightness(1.02);
    box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.3);
}

.calculator-image {
    margin-bottom: 24px;
    text-align: center;
}

.calculator-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.calculator-info {
    margin-bottom: 24px;
}

.info-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-list li {
    font-size: 13px;
    color: #6b7280;
    padding-left: 20px;
    position: relative;
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}

.calculator-templates {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.template-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.template-item {
    font-size: 13px;
    color: var(--brand-primary);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.2s;
}

.template-item:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}

.template-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.template-tabs .format-btn {
    padding: 8px 16px;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    background: transparent;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.template-tabs .format-btn:hover {
    color: #10b981;
}

.template-tabs .format-btn.active {
    color: #10b981;
    border-bottom-color: #10b981;
}

.template-formats {
    display: flex;
    gap: 8px;
}

.format-btn {
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    background: white;
    transition: all 0.2s;
}

.format-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: #f9fafb;
}

.product-section__header {
    text-align: center;
    padding: 0 var(--layout-side-padding);
    margin-bottom: 2.5rem;
}

.product-section__header h2 {
    margin: 0;
    font-size: 1.9rem;
    color: #1f2937;
    font-weight: 600;
}

.product-section__header p {
    margin: 0.75rem auto 0;
    max-width: 620px;
    font-size: 0.98rem;
    color: rgb(188, 188, 188);
}
.assistant-products-section {
    padding: 60px 20px;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(96, 165, 250, 0.95);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2px;
}

.card-image {
    position: relative;
}

.card-overlay-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(107, 114, 128, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-value {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.stars .star {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #d1d5db;
}

.stars .star.filled {
    fill: #fbbf24;
    stroke: #fbbf24;
}

.stars .star.half {
    fill: url(#star-gradient);
    stroke: #fbbf24;
}

.stars .star.empty {
    fill: none;
    stroke: #d1d5db;
}

.rating-count {
    font-size: 12px;
    color: #6b7280;
}

/* Catalog Page */
.catalog-page {
    background: #f8fafc;
    padding-bottom: 80px;
}

.catalog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,0.15);
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.catalog-btn.primary {
    border: none;
    color: #fff;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    box-shadow: 0 12px 25px rgba(79,70,229,0.35);
}

.catalog-btn.ghost {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
}

.catalog-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15,23,42,0.15);
}

.catalog-btn.primary:hover,
.catalog-btn.primary:focus {
    background: var(--brand-gradient-hover-webkit);
    background: var(--brand-gradient-hover);
    color: #fff;
}

.catalog-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.catalog-controls {
    max-width: 1400px;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.catalog-controls__inner {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 14px 28px rgba(15,23,42,0.07);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.catalog-search-form {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto;
    gap: 16px;
    align-items: end;
}

.catalog-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.catalog-field.small {
    min-width: 220px;
}

.catalog-field span {
    font-weight: 600;
}

.catalog-input {
    height: 48px;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    padding: 0 14px;
    font-size: 15px;
    color: #0f172a;
    background: #fff;
    font-family: 'Inter', sans-serif;
}

.catalog-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-focus-ring);
}

.catalog-quickfilters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: #475569;
}

.catalog-layout {
    max-width: 1400px;
    margin: 0 auto 70px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.catalog-filter-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    /* padding: 24px; */
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 20px;
    align-self: start;
    box-shadow: 0 12px 30px rgba(15,23,42,0.08);
}

.catalog-filter-group h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.catalog-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.catalog-filter-heading button {
    border: none;
    background: transparent;
    color: var(--brand-primary);
    font-size: 13px;
    cursor: pointer;
}

.filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #475569;
}

.filter-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-primary);
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-info-card {
    border-radius: 16px;
    background: linear-gradient(180deg, var(--brand-primary-tint), #fff);
    padding: 18px;
    border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
}

.catalog-info-card h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #111827;
}

.catalog-info-card p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #475569;
}

.catalog-info-card a {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
}

.catalog-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.catalog-results-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.catalog-results-head h2 {
    margin: 4px 0 0;
    font-size: 24px;
    color: #0f172a;
}

.catalog-head-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.category-card {
    border-radius: 24px;
    background: #fff;
    padding: 18px;
    margin-bottom: 22px;
}

.category-card__eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8fb6;
    margin: 0;
    font-weight: 700;
}

.category-card__title {
    margin: 6px 0 12px;
    font-size: 16px;
    color: #1e1b4b;
    font-weight: 700;
}

.category-card__bar {
    display: block;
    height: 2px;
    width: 100%;
    margin-bottom: 14px;
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb),0.2);
}

.category-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-entry {
    border-radius: 16px;
    border: 1px solid transparent;
    background: #f4f5ff;
    transition: border-color .2s ease, background .2s ease;
}

.category-entry:hover {
    border-color: rgba(var(--brand-primary-rgb),0.4);
    background: #eef0ff;
}

.category-entry summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.category-entry summary::-webkit-details-marker { display: none; }

.category-entry__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-entry__count {
    min-width: 44px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: var(--brand-primary);
    background: rgba(79,70,229,0.12);
    border-radius: 999px;
    padding: 4px 0;
    font-weight: 700;
    font-size: 12px;
}

.category-entry summary svg {
    color: #9aa5b1;
    transition: transform .2s ease;
}

.category-entry[open] summary svg {
    transform: rotate(180deg);
}

.category-entry__sublist {
    list-style: none;
    margin: 0;
    padding: 0 14px 12px 14px;
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #475569;
}

.category-entry__sublist li {
    display: block;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 4px 0;
}

.subcat-name {
    color: #1f2937;
}
.subcat-name:hover {
    color: #1f2937c9;
}

.subcat-count {
    min-width: 40px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(236,72,153,0.12);
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: 10px;
    float: right;
}

.category-entry.is-active,
.category-entry[open] {
    border-color: var(--brand-primary);
    background: rgba(var(--brand-primary-rgb),0.12);
}

.product-list-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.08);
}

.product-list-header {
    margin-bottom: 24px;
}

.product-list-eyebrow {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 6px;
}

.product-list-title {
    margin: 0;
    font-size: 22px;
    color: #111827;
}

.product-list-group + .product-list-group {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(229,231,235,0.8);
}

.product-list-group__head h4 {
    margin: 0 0 18px;
    font-size: 18px;
    color: #1f2937;
}

.product-list-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-list-item {
    background: #fdfdff;
    border: 1px solid rgba(var(--brand-primary-rgb),0.15);
    border-radius: 18px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(var(--brand-primary-rgb),0.08);
}

.product-list-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.product-list-thumb {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
}

.product-list-code {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.product-list-desc {
    margin: 2px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.product-list-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-list-qty {
    font-size: 14px;
    color: var(--brand-primary);
    font-weight: 700;
}

.product-list-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 120px;
}

.product-list-price .new {
    font-size: 20px;
    font-weight: 800;
    color: #ef4444;
}

.product-list-price .old {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

@media (max-width: 900px) {
    .product-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .product-list-meta {
        width: 100%;
        justify-content: space-between;
    }
    .product-list-price {
        align-items: flex-start;
    }
}

.product-detail {
    max-width: 1400px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--brand-primary);
    text-decoration: none;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: 40px;
}

.product-media__hero {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    padding: 30px;
    display: grid;
    place-items: center;
    box-shadow: 0 25px 50px rgba(15,23,42,0.07);
}

.product-media__hero img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-swatches {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.swatch {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: border-color .2s ease;
}

.swatch span {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-block;
}

.swatch.is-active {
    border-color: var(--brand-primary);
    box-shadow: 0 8px 18px rgba(79,70,229,0.25);
}

.product-info h1 {
    margin: 0;
    font-size: 32px;
    color: #0f172a;
}

.product-sku {
    margin: 6px 0 24px;
    color: #6b7280;
    font-size: 14px;
}

.product-pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
    background: #f3f4ff;
    border-radius: 18px;
    border: 1px solid rgba(var(--brand-primary-rgb),0.2);
    margin-bottom: 24px;
}

.price-label {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.price-value {
    margin: 4px 0 0;
    font-size: 24px;
    font-weight: 800;
    color: #10b981;
}

.price-unit {
    margin: 4px 0 0;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.stock-table-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15,23,42,0.06);
    margin-bottom: 24px;
}

.stock-table-card h2 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #0f172a;
}

.stock-table-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.stock-table-card th {
    text-align: left;
    color: #6b7280;
    font-weight: 600;
    padding-bottom: 8px;
}

.stock-table-card td {
    padding: 10px 0;
    border-top: 1px solid #f1f5f9;
    color: #0f172a;
}

.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    display: inline-block;
    margin-right: 10px;
    border: 1px solid rgba(0,0,0,0.08);
}

.product-form {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

.form-field span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-field select {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    padding: 0 12px;
    font-size: 14px;
}

.qty-picker {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    overflow: hidden;
}

.qty-picker button {
    width: 40px;
    height: 42px;
    border: none;
    background: #f3f4f6;
    font-size: 18px;
    cursor: pointer;
}

.qty-picker input {
    width: 60px;
    border: none;
    text-align: center;
    font-size: 16px;
    height: 42px;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.catalog-btn.ghost {
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
    background: #fff;
}

.delivery-card {
    border: 1px solid rgba(16,185,129,0.4);
    background: #f0fdf4;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.delivery-card p {
    margin: 4px 0 0;
    color: #065f46;
}

.delivery-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: #d1fae5;
    color: #065f46;
    font-weight: 600;
    font-size: 13px;
}

@media (max-width: 1020px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
}

.related-products {
    margin-top: 40px;
}

.related-header h3 {
    margin: 0;
    font-size: 24px;
    color: #0f172a;
}

.related-header p {
    margin: 6px 0 18px;
    color: #6b7280;
    font-size: 15px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.product-description {
    margin-top: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15,23,42,0.08);
}

.desc-tabs {
    display: flex;
    gap: 8px;
    padding: 18px;
    border-bottom: 1px solid #f3f4f6;
}

.desc-tab {
    border: none;
    background: #f3f4ff;
    color: var(--brand-primary);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.desc-tab.is-active {
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    color: #fff;
}

.desc-panel {
    padding: 24px 28px;
}

.desc-panel h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #0f172a;
}

.desc-panel p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.desc-panel ul {
    margin: 0 0 16px 18px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
}

.result-eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin: 0;
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.catalog-view {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
    color: #94a3b8;
}

.catalog-view.is-active {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}

.catalog-pagination {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.catalog-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalog-pages button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.catalog-pages button.is-active {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-primary-tint);
}

.catalog-pages span {
    color: #94a3b8;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    .catalog-filter-panel {
        position: static;
        order: 2;
    }
    .catalog-results {
        order: 1;
    }
    .catalog-search-form {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 720px) {
    .catalog-filter-panel,
    .catalog-controls__inner {
        padding: 24px;
    }
    
    .catalog-search-form {
        grid-template-columns: 1fr;
    }
    .catalog-results-head {
        flex-direction: column;
    }
    .catalog-head-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .catalog-sort {
        align-self: flex-start;
    }
    .catalog-pages {
        flex-wrap: wrap;
    }
}

@media (max-width: 1200px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .calculator-left,
    .calculator-middle,
    .calculator-right {
        order: 0;
    }
}

@media (max-width: 768px) {
    .calculator-title {
        font-size: 28px;
    }
    
    .calculator-card {
        padding: 20px;
    }
    
    .calculator-card-title {
        margin: -20px -20px 16px;
        padding: 10px 14px;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row label {
        min-width: auto;
        width: 100%;
    }

    .form-select,
    .form-input {
        width: 100%;
    }
}

/* BaskÃ„Â± Hesaplama AsistanÃ„Â± Page Styles */
.calculator-page {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 2rem var(--layout-side-padding);
}

.calculator-form {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 10px;
    height: fit-content;
}

.calculator-form h2 {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    color: var(--color-text-primary);
    font-weight: 700;
}

.calculator-form__field {
    display: flex;
    margin-bottom: 0.5rem;
    flex-direction: row;
    align-items: center;
}

.calculator-form__field label {
    display: block;
    padding-right: 27px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.calculator-form__field select,
.calculator-form__field input {
    width: 12rem;
    margin-left: auto;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.calculator-form__field .extradiv{
    margin-left: auto;
}
.calculator-form__field .extrainput{
    width: 5.4rem;
    margin-left: 0;
    /* float: right; */
}

.calculator-form__field select:focus,
.calculator-form__field input:focus {
    outline: none;
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 3px rgba(124, 165, 66, 0.1);
}

.calculator-form__row {
    display: flex;
    gap: 0.5rem;
}

.calculator-form__row input {
    flex: 1;
}

.calculator-form__button {
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    color: white;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 1rem;
}

.calculator-form__button:hover,
.calculator-form__button:focus {
    background: var(--brand-gradient-hover-webkit);
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--brand-primary-rgb), 0.4);
}

.pricing-detail {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
}

.pricing-detail__header {
    background: #1a1a1a;
    color: white;
    padding: 1rem;
    text-align: center;
    margin: -1.5rem -1.5rem 1.5rem;
    border-radius: 10px 10px 0 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.pricing-detail__currency {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-detail__currency p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.pricing-detail__breakdown {
    margin-bottom: 1rem;
}

.pricing-detail__row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.pricing-detail__row:last-child {
    border-bottom: none;
}

.pricing-detail__total {
    background: var(--brand-primary-tint);
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
}

.pricing-detail__total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pricing-detail__total-row:last-child {
    margin-bottom: 0;
    color: var(--brand-primary);
    font-size: 1.1rem;
}

.pricing-detail__actions {
    margin: 1.5rem 0 -0.4rem 0;
}

.pricing-detail__button {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.pricing-detail__button--primary {
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    color: #fff;
    font-size: 1rem;
}

.pricing-detail__button--primary:hover,
.pricing-detail__button--primary:focus {
    background: var(--brand-gradient-hover-webkit);
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--brand-primary-rgb), 0.3);
    color: #fff;
}

.pricing-detail__button-group {
    display: flex;
    gap: 0.5rem;
}

.pricing-detail__button--secondary {
    background: #6c757d;
    color: white;
    font-size: 0.9rem;
}

.pricing-detail__button--secondary:hover {
    background: #5a6268;
}

.pricing-detail__warning {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 0.85rem;
}

.pricing-detail__warning p {
    margin: 0.25rem 0;
}

.pricing-detail__membership {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.pricing-detail__membership p {
    margin: 0.25rem 0;
}

.pricing-detail__membership a {
    color: var(--color-primary-green);
    text-decoration: none;
    font-weight: 600;
}

.product-info {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
}

.product-info__image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-info__image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-info h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: var(--color-text-primary);
    font-weight: 600;
}

.product-info__standards {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.product-info__standards li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--color-text-body);
    position: relative;
    padding-left: 1rem;
}

.product-info__standards li::before {
    content: "•";
    color: var(--color-primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-info__templates h4 {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--color-text-primary);
    font-weight: 600;
}

.template-tabs {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.template-tab {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.template-tab.active {
    color: var(--color-primary-green);
    border-bottom-color: var(--color-primary-green);
    font-weight: 600;
}

.template-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    display: none;
}
.template-list.active {
    display: block;
}

.template-item {
    display: block;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: var(--color-text-body);
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.template-item:hover {
    background: #e9ecef;
    color: var(--color-primary-green);
}

.calculator-products {
    margin-top: 3rem;
    padding: 2rem 0;
    background: var(--color-bg-lighter);
}

.calculator-products__inner {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 var(--layout-side-padding);
}

.calculator-products h2 {
    text-align: center;
    margin: 0 0 2rem;
    font-size: 2rem;
    color: var(--color-text-primary);
    font-weight: 700;
}

.calculator-products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.calculator-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.calculator-product-card__image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.calculator-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calculator-product-card__content {
    padding: 1rem;
    text-align: center;
}

.calculator-product-card__content h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--color-text-primary);
    font-weight: 600;
}

.calculator-product-card__button {
    background: var(--brand-gradient-webkit);
    background: var(--brand-gradient);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.calculator-product-card__button:hover,
.calculator-product-card__button:focus {
    background: var(--brand-gradient-hover-webkit);
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--brand-primary-rgb), 0.3);
}

/* Responsive Design for Calculator Page */
@media (max-width: 1024px) {
    .calculator-page {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .calculator-page {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calculator-form,
    .pricing-detail,
    .product-info {
        height: auto;
    }
}

@media (max-width: 768px) {
    .calculator-page {
        padding: 1rem var(--layout-side-padding);
    }
    
    .calculator-form,
    .pricing-detail,
    .product-info {
        padding: 1rem;
    }
    
    .calculator-products__grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .calculator-product-card__content h3 {
        font-size: 0.9rem;
    }
    
    .calculator-product-card__button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Account Dashboard Styles */
.account-dashboard {
    padding: 3rem 0;
}

.account-dashboard__inner {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 var(--layout-side-padding);
}

.account-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.account-card {
    background: var(--color-bg-primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    display: block;
    color: inherit;
}

.account-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.account-card--danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: var(--color-white);
}

.account-card--danger:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}

.account-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-green);
    border-radius: 50%;
}

.account-card--danger .account-card__icon {
    background: rgba(255, 255, 255, 0.2);
}

.account-card__icon img {
    width: 30px;
    height: 30px;
}

.account-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.account-card--danger h3 {
    color: var(--color-white);
}

/* Account Content */
.account-content {
    padding: 3rem 0;
}

.account-content__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--layout-side-padding);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Brand-wide focus helpers */
:where(input:not([type="checkbox"]):not([type="radio"])):focus,
:where(textarea):focus,
:where(select):focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-focus-ring);
    outline: none;
}

:where(button):focus,
:where(button):focus-visible,
:where(input[type="submit"]):focus,
:where(input[type="button"]):focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--brand-primary-focus-ring);
}
