/* ==========================================================================
   THE KINGSMEN — Internal Shop Page Stylesheet (shop.css)
   Reuses global tokens & royal champagne-gold glass aesthetic from style.css.
   ========================================================================== */

/* Active state on Shared Header Navigation Pills for Internal Pages */
.tk-nav-link.is-active {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.92) 0%, rgba(252, 235, 168, 0.56) 100%);
  border-color: rgba(221, 162, 43, 0.65);
  color: #4A2909;
  box-shadow:
    0 10px 24px -14px rgba(166, 107, 16, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.tk-mobile-nav-item.is-active {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.94) 0%, rgba(252, 235, 168, 0.52) 100%);
  border-color: rgba(221, 162, 43, 0.6);
  box-shadow: 0 10px 24px -14px rgba(166, 107, 16, 0.28);
}

/* ==========================================================================
   SUNLIT ROYAL ATELIER SHOP BANNER
   ========================================================================== */
.tk-shop-hero {
  position: relative;
  padding: clamp(7rem, 11.5vw, 8.75rem) 0 clamp(2.1rem, 4vw, 3rem);
  background:
    radial-gradient(circle 520px at 14% 18%, rgba(252, 235, 168, 0.38) 0%, transparent 72%),
    radial-gradient(circle 480px at 88% 24%, rgba(242, 201, 85, 0.24) 0%, transparent 72%),
    linear-gradient(180deg, #F8ECD2 0%, #FDF6E6 56%, #FEFAF1 100%);
  border-bottom: 1px solid rgba(221, 162, 43, 0.18);
  overflow: hidden;
}

.tk-shop-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8F5812;
}

.tk-shop-breadcrumb a {
  color: #7F5426;
  text-decoration: none;
  transition: color 220ms var(--ease-luxury);
}

.tk-shop-breadcrumb a:hover {
  color: #4A2909;
}

.tk-shop-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #4A2909;
}

/* ==========================================================================
   SHOP CONTROLS — ROYAL CIRCULAR CATEGORY MEDALLIONS & CAROUSEL
   ========================================================================== */
.tk-shop-stage {
  position: relative;
  padding: 2rem 0 5.5rem;
  background:
    radial-gradient(circle 460px at 86% 18%, rgba(252, 235, 168, 0.25) 0%, transparent 72%),
    radial-gradient(circle 440px at 12% 76%, rgba(242, 201, 85, 0.18) 0%, transparent 72%),
    linear-gradient(180deg, #FEFAF1 0%, #FDF7EA 52%, #FEFAF1 100%);
}

.tk-cat-carousel {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  max-width: 1080px;
  margin-inline: auto;
}

.tk-cat-viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.tk-cat-viewport.has-left-fade {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28px, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28px, #000 100%);
}

.tk-cat-viewport.has-right-fade {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
}

.tk-cat-viewport.has-left-fade.has-right-fade {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28px, #000 calc(100% - 28px), transparent 100%);
}

.tk-cat-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 2.65rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 0.5rem 0.5rem 0.35rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tk-cat-track::-webkit-scrollbar {
  display: none;
}

.tk-cat-track.is-centered {
  justify-content: center;
}

.tk-cat-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.62rem;
  min-width: 4.9rem;
  padding: 0.2rem 0.15rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #6B3F12;
  transition: transform 280ms var(--ease-luxury), color 280ms var(--ease-luxury);
}

.tk-cat-item:focus-visible {
  outline: none;
}

.tk-cat-circle {
  position: relative;
  display: block;
  width: clamp(4.75rem, 8.2vw, 6.25rem);
  height: clamp(4.75rem, 8.2vw, 6.25rem);
  border-radius: 9999px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #FFFBF2 0%, #FCE6BA 58%, #EFC578 100%);
  border: 1.5px solid rgba(221, 162, 43, 0.36);
  box-shadow:
    0 12px 24px -16px rgba(138, 90, 22, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    transform 320ms var(--ease-luxury),
    border-color 320ms var(--ease-luxury),
    box-shadow 320ms var(--ease-luxury);
}

.tk-cat-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  box-shadow: inset 0 0 18px rgba(166, 107, 16, 0.14);
  pointer-events: none;
}

.tk-cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 420ms var(--ease-luxury), filter 320ms var(--ease-luxury);
}

.tk-cat-img-all {
  object-position: 34% 18%;
}

.tk-cat-img-portrait {
  object-position: 50% 13%;
}

.tk-cat-item:hover .tk-cat-circle {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(186, 123, 20, 0.72);
  box-shadow:
    0 16px 28px -14px rgba(166, 107, 16, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.tk-cat-item:hover .tk-cat-circle img {
  transform: scale(1.05);
}

.tk-cat-item:focus-visible .tk-cat-circle {
  box-shadow: 0 0 0 3px #FEFAF1, 0 0 0 5px #DDA22B;
}

.tk-cat-item.is-active .tk-cat-circle {
  border-color: #BA7B14;
  box-shadow:
    0 0 0 3px #FEFAF1,
    0 0 0 5px #DDA22B,
    0 16px 30px -14px rgba(166, 107, 16, 0.45);
}

.tk-cat-item.is-active .tk-cat-circle img {
  transform: scale(1.05);
}

.tk-cat-label {
  position: relative;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.05vw, 0.84rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #6B3F12;
  white-space: nowrap;
  padding-bottom: 0.25rem;
  transition: color 280ms var(--ease-luxury);
}

.tk-cat-label::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--tk-royal-btn-light) 0%, #BA7B14 100%);
  transform: translateX(-50%);
  transition: width 320ms var(--ease-luxury);
}

.tk-cat-item:hover .tk-cat-label {
  color: #4A2909;
}

.tk-cat-item.is-active .tk-cat-label {
  color: #4A2909;
  font-weight: 600;
}

.tk-cat-item.is-active .tk-cat-label::after {
  width: 1.55rem;
}

.tk-cat-arrow {
  flex: 0 0 auto;
  margin-top: clamp(1.7rem, 3.1vw, 2.45rem);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.94) 0%, rgba(251, 242, 222, 0.84) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(221, 162, 43, 0.45);
  color: #5E340D;
  box-shadow: 0 10px 22px -12px rgba(138, 90, 22, 0.3);
  cursor: pointer;
  transition:
    transform 240ms var(--ease-luxury),
    border-color 240ms var(--ease-luxury),
    background 240ms var(--ease-luxury),
    opacity 220ms var(--ease-luxury);
}

.tk-cat-arrow[hidden] {
  display: none;
}

.tk-cat-arrow:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #BA7B14;
  background: linear-gradient(135deg, var(--tk-royal-btn-light) 0%, var(--tk-royal-btn-dark) 100%);
  color: #4A2909;
}

.tk-cat-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ==========================================================================
   SHOP ARCHED PRODUCT CARDS (Unified with Home Featured Products)
   ========================================================================== */
.tk-product-card {
  display: flex;
  flex-direction: column;
  padding: 0.72rem;
  border-radius: 1.5rem;
  background: linear-gradient(155deg, rgba(255, 253, 248, 0.86) 0%, rgba(251, 242, 222, 0.58) 100%);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid rgba(255, 252, 244, 0.9);
  box-shadow:
    0 20px 40px -22px rgba(138, 90, 22, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(242, 201, 85, 0.2);
  transition:
    transform 620ms var(--ease-luxury),
    box-shadow 620ms var(--ease-luxury),
    border-color 620ms var(--ease-luxury);
}

.tk-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 215, 107, 0.85);
  box-shadow:
    0 28px 50px -22px rgba(138, 90, 22, 0.24),
    0 0 28px -8px rgba(247, 215, 107, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.tk-product-arch {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 3.55;
  padding: 1.75px;
  border-radius: 140px 140px 16px 16px;
  background: linear-gradient(180deg, var(--tk-logo-light) 0%, var(--tk-logo-dark) 100%);
}

.tk-product-arch-inner {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 138px 138px 14px 14px;
  overflow: hidden;
  background-color: #F6E9CE;
  text-decoration: none;
  cursor: pointer;
}

.tk-product-arch-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  display: block;
  transition: transform 700ms var(--ease-luxury);
}

.tk-product-card:hover .tk-product-arch-inner img {
  transform: scale(1.045);
}

.tk-shop-badge {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 0.24rem 0.72rem;
  border-radius: 9999px;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(221, 162, 43, 0.55);
  color: #6B3F12;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(107, 63, 18, 0.25);
}

.tk-shop-badge.is-sale {
  background: linear-gradient(135deg, #5A3510 0%, #3E2106 100%);
  border-color: rgba(247, 215, 107, 0.72);
  color: #FCE588;
}

.tk-product-inspect {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: #5E340D;
  box-shadow: 0 6px 14px -6px rgba(110, 68, 16, 0.25);
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 320ms var(--ease-luxury),
    transform 320ms var(--ease-luxury),
    background 320ms var(--ease-luxury),
    color 320ms var(--ease-luxury);
}

.tk-product-card:hover .tk-product-inspect,
.tk-product-card:focus-within .tk-product-inspect,
.tk-product-inspect:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.tk-product-inspect:hover {
  background: linear-gradient(90deg, var(--tk-royal-btn-light) 0%, var(--tk-royal-btn-dark) 100%);
  color: #4A2909;
}

@media (max-width: 767px) {
  .tk-product-inspect {
    opacity: 1;
    transform: none;
  }
}

.tk-product-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0.9rem 0.35rem 0.25rem;
}

.tk-product-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.12rem;
  line-height: 1.3;
  color: #4A2909;
  margin-top: 0.28rem;
  cursor: pointer;
}

.tk-product-title a {
  color: inherit;
  text-decoration: none;
  transition: color 220ms var(--ease-luxury);
}

.tk-product-title a:hover {
  color: #8F5812;
}

.tk-shop-size-pill {
  min-width: 44px;
  height: 36px;
  padding: 0 0.7rem;
  border-radius: 9999px;
  border: 1px solid rgba(186, 123, 20, 0.32);
  background: rgba(255, 253, 248, 0.8);
  color: #5E340D;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 220ms var(--ease-luxury);
}

.tk-shop-size-pill:hover {
  border-color: #BA7B14;
  background: #FAF0DA;
}

.tk-shop-size-pill.is-selected {
  background: linear-gradient(90deg, var(--tk-royal-btn-light) 0%, var(--tk-royal-btn-dark) 100%);
  border-color: #BA7B14;
  color: #3E2106;
  box-shadow: 0 6px 14px -8px rgba(166, 107, 16, 0.4);
}

/* ==========================================================================
   SHOP PAGINATION BAR (Royal Frosted Glass Capsule & Page Pills)
   ========================================================================== */
.tk-shop-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.tk-shop-pagination[hidden] {
  display: none;
}

.tk-page-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.42rem 0.56rem;
  border-radius: 9999px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.9) 0%, rgba(250, 238, 208, 0.72) 100%);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid rgba(221, 162, 43, 0.4);
  box-shadow:
    0 14px 30px -16px rgba(138, 90, 22, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.tk-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 36px;
  height: 36px;
  padding: 0 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(221, 162, 43, 0.28);
  background: rgba(255, 253, 248, 0.85);
  color: #5E340D;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition:
    background 260ms var(--ease-luxury),
    border-color 260ms var(--ease-luxury),
    color 260ms var(--ease-luxury),
    transform 240ms var(--ease-luxury),
    box-shadow 260ms var(--ease-luxury);
}

.tk-page-btn:hover:not(:disabled),
.tk-page-btn:focus-visible:not(:disabled) {
  background: #FAF0DA;
  border-color: #BA7B14;
  color: #4A2909;
  transform: translateY(-1px);
}

.tk-page-btn.is-active {
  background: linear-gradient(90deg, var(--tk-royal-btn-light) 0%, var(--tk-royal-btn-dark) 100%);
  border-color: rgba(186, 123, 20, 0.65);
  color: #3E2106;
  box-shadow: 0 8px 18px -10px rgba(166, 107, 16, 0.42);
}

.tk-page-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.tk-page-nav {
  padding: 0 0.92rem;
}

.tk-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 36px;
  color: #8F5812;
  font-size: 0.85rem;
  font-weight: 600;
  user-select: none;
}

.tk-page-meta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #7F5426;
  font-variant-numeric: tabular-nums;
}

