/* --- Responsive Styles --- */

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 32px, 960px);
  }

  .desktop-only,
  .desktop-nav {
    display: none !important;
  }

  .mobile-only {
    display: inline-flex !important;
  }

  .site-header {
    height: auto;
  }

  .header-main {
    height: 116px;
    min-height: 110px;
    display: grid !important;
    grid-template-columns: 88px 1fr 88px !important;
    align-items: center !important;
    width: 100%;
    max-width: 100%;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .header-tools--left {
    grid-column: 1;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    width: 88px;
  }

  .header-tools--left .icon-btn {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .wordmark {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-width: 0;
    padding: 2px 0;
  }

  .logo-img {
    height: clamp(80px, 20vw, 102px) !important;
    max-height: 106px !important;
    width: auto !important;
    object-fit: contain;
  }

  .site-header.is-sticky .logo-img {
    height: clamp(80px, 20vw, 102px) !important;
    max-height: 106px !important;
  }

  .header-tools--right {
    grid-column: 3;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    width: 88px;
  }

  .header-tools--right .icon-btn {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .hero-home {
    height: clamp(580px, calc(100svh - 98px), 740px);
  }

  .hero-title {
    font-size: clamp(36px, 6vw, 48px);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }

  .trust-item {
    border-right: 0;
  }

  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .cabinet-mosaic {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 14px !important;
  }

  .cabinet-tile {
    grid-column: auto !important;
    grid-row: auto !important;
    height: 280px !important;
  }

  .cabinet-tile--earrings {
    grid-column: 1 / -1 !important;
    height: 320px !important;
  }

  .cabinet-tile--earrings .cabinet-tile-media img {
    max-height: 220px !important;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 16px;
  }

  .craft-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .askname-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .askname-visual {
    grid-template-columns: 1fr 120px;
  }

  .askname-hero-img-wrap {
    height: 380px;
  }

  .askname-thumb {
    height: 182px;
  }

  .askname-thumb img {
    height: 130px;
  }

  .collection-cards-grid {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    gap: 16px;
  }

  .collection-card {
    scroll-snap-align: start;
    min-height: 460px;
  }

  .pdp {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pdp-info {
    position: static;
  }

  .cart-page,
  .checkout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .order-summary,
  .checkout-summary {
    position: static;
  }

  .checkout:not(.iyzico-checkout-page) .checkout-summary {
    grid-row: 1;
  }

  .footer-main,
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width:767px) {


  .lightbox-stage {
    padding: 64px 10px 16px;
  }

  .lightbox-arrow {
    top: auto;
    bottom: 18px;
  }

  .lightbox-arrow--prev {
    left: calc(50% - 58px);
  }

  .lightbox-arrow--next {
    right: calc(50% - 58px);
  }
}

@media (max-width: 768px) {
  :root {
    --shell: calc(100% - 32px);
  }

  body {
    font-size: 13px;
  }

  .announcement {
    height: auto;
    padding: 8px 16px;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 10px;
  }

  .section {
    padding-top: clamp(56px, 12vw, 80px);
  }

  .hero-home {
    height: 100svh;
    min-height: 580px;
    max-height: none;
    padding-top: 110px;
  }

  body[data-page="anasayfa"] .site-header {
    top: 0;
  }

  .hero-copy {
    justify-content: flex-end;
    padding-bottom: clamp(140px, 20vh, 185px);
  }

  .hero-eyebrow {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: clamp(30px, 8.5vw, 40px);
    margin-bottom: 10px;
  }

  .hero-desc {
    font-size: 13px;
    margin-bottom: 20px;
    max-width: 320px;
  }

  .hero-nav-dock {
    bottom: 18px;
  }

  .hero-pills {
    display: none;
  }

  .trust-ribbon {
    padding: 24px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-item {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }

  .trust-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

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

  .cabinet-mosaic {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 10px !important;
  }

  .cabinet-tile {
    width: 100% !important;
    height: 220px !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .cabinet-tile--earrings {
    grid-column: 1 / -1 !important;
    height: 240px !important;
  }

  .cabinet-tile-media {
    padding: 14px 10px 4px !important;
  }

  .cabinet-tile-media img {
    max-height: 115px !important;
  }

  .cabinet-tile--earrings .cabinet-tile-media img {
    max-height: 145px !important;
  }

  .cabinet-tile-content {
    padding: 8px 12px 14px !important;
  }

  .cabinet-tile small {
    display: none !important;
  }

  .cabinet-tile h3 {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .cabinet-tile--earrings h3 {
    font-size: 18px !important;
  }

  .cabinet-tile-link {
    font-size: 10px !important;
    margin-top: 3px !important;
  }

  .discovery-tabs {
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 4px;
  }

  .discovery-tabs button {
    padding: 0 12px;
    white-space: nowrap;
    font-size: 11px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px;
  }

  .product-media {
    aspect-ratio: 4 / 5;
  }

  .product-image {
    padding: 6%;
  }

  .product-collection {
    font-size: 9px;
  }

  .product-price {
    font-size: 12px;
  }

  .product-title {
    font-size: 12px;
    min-height: 34px;
  }

  .product-quick-view {
    display: none;
  }

  .button--wide-mobile {
    width: 100%;
  }

  .vein-chapter {
    min-height: 480px;
  }

  .vein-wrap {
    width: 100%;
    padding: 0 20px;
  }

  .vein-content {
    padding: 48px 0;
    max-width: 100%;
    text-align: left;
  }

  .vein-content h2 {
    font-size: 32px;
  }

  .vein-content p {
    font-size: 13px;
  }

  .atelier-header {
    margin-bottom: 32px;
  }

  .atelier-header h2 {
    font-size: 30px;
  }

  .craft-card {
    padding: 28px 20px;
  }

  .askname-visual {
    grid-template-columns: 1fr;
  }

  .askname-hero-img-wrap {
    height: 320px;
  }

  .askname-sub-visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .askname-thumb {
    height: 140px;
  }

  .askname-thumb img {
    height: 90px;
  }

  .askname-details h2 {
    font-size: 32px;
  }

  .askname-lead {
    font-size: 14px;
  }

  .askname-specs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .askname-actions {
    flex-direction: column;
  }

  .askname-actions .button {
    width: 100%;
  }

  .collection-cards-grid {
    grid-template-columns: repeat(3, 82vw);
    gap: 14px;
    padding-bottom: 16px;
  }

  .collection-card {
    min-height: 420px;
    padding: 22px 18px 20px;
  }

  .collection-card-media {
    height: 230px;
  }

  .membership {
    padding: 56px 0;
  }

  .membership-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .membership h2 {
    font-size: 28px;
  }

  .footer-main,
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 0 28px;
  }

  .footer-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .trust-payment-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-legal-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-form {
    max-width: 100%;
  }

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

  .footer-form .button {
    width: 100%;
    justify-content: center;
  }

  .swarovski-banner {
    height: clamp(280px, 60vw, 360px);
  }

  .swarovski-banner--women .swarovski-banner-img {
    object-position: 70% 52%;
  }

  .swarovski-banner--puffy .swarovski-banner-img {
    object-position: 72% 50%;
  }

  .swarovski-banner--all .swarovski-banner-img {
    object-position: 61% 12%;
  }

  .swarovski-banner--men .swarovski-banner-img {
    object-position: 60% 54%;
  }

  .swarovski-banner--vein .swarovski-banner-img {
    object-position: 61% 54%;
  }

  .swarovski-banner--askname .swarovski-banner-img {
    object-position: 59% 52%;
  }

  .swarovski-desc-box {
    padding: 20px 0 24px;
  }

  .swarovski-title {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .swarovski-text {
    font-size: 13px;
    line-height: 1.55;
  }

  .listing-toolbar {
    margin-bottom: 24px;
    padding-bottom: 12px;
  }

  .filter-button-pill {
    height: 38px;
    padding: 0 16px;
    font-size: 12px;
  }

  .select-styled-pill select {
    height: 38px;
    padding: 0 32px 0 14px;
    font-size: 12px;
  }

  .pdp-image {
    height: min(440px, 92vw);
  }

  .pdp-thumbnails {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 64px;
    gap: 8px;
  }

  .pdp-thumb {
    width: 64px;
  }

  .pdp-title {
    font-size: 28px;
  }

  .pdp-price {
    font-size: 20px;
  }

  .buy-row {
    display: none;
  }

  .mobile-buy-bar {
    position: fixed;
    z-index: 200;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    background: #ffffff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
  }

  .mobile-buy-bar strong {
    display: block;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-buy-bar span {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-dark);
  }

  .mobile-buy-bar .button {
    min-height: 44px;
    padding: 0 20px;
  }

  .whatsapp-fab {
    bottom: 20px;
    right: 16px;
    width: 44px;
    height: 44px;
    z-index: 95;
  }

  body[data-page="urun"] .whatsapp-fab {
    bottom: 80px;
  }

  .whatsapp-fab svg {
    width: 22px;
    height: 22px;
  }

  .cart-line {
    grid-template-columns: 80px 1fr;
    gap: 14px;
  }

  .cart-line>img {
    width: 80px;
    height: 96px;
  }

  .cart-line-end {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

  .span-2 {
    grid-column: auto;
  }

  .contact-grid,
  .account-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .atelier-stats {
    grid-template-columns: 1fr;
  }

  .footer-top {
    padding-bottom: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .drawer,
  .mobile-nav {
    width: 100vw !important;
    max-width: 100vw !important;
  }
}

/* Final mobile containment and seven-card cabinet carousel */
@media (max-width: 767px) {

  .swarovski-desc-box .shell,
  .listing-section.shell {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }

  .swarovski-text {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .listing-toolbar {
    gap: 12px;
    align-items: flex-start;
  }

  .toolbar-actions {
    min-width: 0;
    gap: 8px;
  }

  .sort-wrapper-pill {
    min-width: 0;
    max-width: 145px;
  }

  .select-styled-pill select {
    width: 145px;
    max-width: 100%;
  }

  .product-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card,
  .product-media,
  .product-info {
    min-width: 0;
    max-width: 100%;
  }



  .lightbox-stage {
    padding: 64px 10px 16px;
  }
}