:root {
  --white: #ffffff;
  --black: #000000;
  --gray: #b1b1b1;
  --lgray: #ececec;
  --elgray: #f7f7f7;
  --dgray: #383838;
  --tc1: #000000;
  --tc2: #000000;
  --ltc1: #b1b1b1;
  --ltc2: #b1b1b1;
  --dtc1: #383838;
  --dtc2: #383838;

  --font-main: "Inter", sans-serif;
  --border-color: #e5e5e5;
}

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

body {
  font-family: var(--font-main);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
}
img {
  width: 100%;
}

@media (max-width: 1500px) {
  .container {
    margin: 0;
  }
}

@media (max-width: 720px) {
  .container {
    margin: 0;
  }
}

/* --- HEADER --- */
.header-container {
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.site-header {
  width: 100%;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1600px;
  margin: 0 auto;
  gap: 24px;
}

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

.logo img {
  height: 38px;
  display: block;
}

/* Desktop Actions Grouping */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-link {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.btn-link:hover {
  text-decoration: underline;
}

.btn-pill {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 24px;
  border-radius: 40px;
  transition:
    background-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}

.btn-pill-outline {
  border: 1px solid var(--black);
  color: var(--black);
  background: transparent;
}

.btn-pill-outline:hover {
  background: var(--lgray);
}

.btn-pill-filled {
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
}

.btn-pill-filled:hover {
  background: var(--dgray);
}

/* --- SEARCH --- */
.search-container {
  flex-grow: 1;
}

.desktop-search {
  display: block;
}

.mobile-search {
  display: none;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 2px;
}

.search-box:focus-within {
  border-color: var(--black);
}

.search-icon {
  color: var(--gray);
  flex-shrink: 0;
}

.desktop-search .search-icon {
  margin-left: 8px;
}

.mobile-search .search-icon {
  margin-right: 8px;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-family: var(--font-main);
  font-size: 14px;
  background: transparent;
}

/* --- BOTTOM NAV (Desktop Only) --- */
.desktop-nav {
  border-top: 1px solid var(--border-color);
}

.nav-links {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  max-width: 1600px;
  margin: 0 auto;
  gap: 24px;
  overflow-x: auto;
}

.nav-links li a {
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.nav-links li a:hover {
  text-decoration: underline;
}

/* --- MOBILE SPECIFIC ICONS --- */
.mobile-header-right {
  display: none;
  align-items: center;
  gap: 16px;
  flex-grow: 1;
  justify-content: flex-end;
}

.user-icon {
  color: var(--black);
  display: flex;
}

.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  display: flex;
  align-items: center;
}

/* --- BANNER SECTION --- */
.banner-section {
  width: 100%;
}

.slider-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  cursor: grab;
  user-select: none;
}

.slider-wrapper:active {
  cursor: grabbing;
}

.slide {
  grid-area: 1 / 1 / 2 / 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-inner {
  display: flex;
  width: 100%;
  height: 70vh;
  min-height: 500px;
}

.slide-image {
  flex: 1 1 50%;
  position: relative;
  background-color: var(--elgray);
  overflow: hidden;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-image img {
  transform: scale(1);
}

.image-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: var(--white);
  font-size: 11px;
  padding: 4px 0;
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.8s ease-out 0.5s,
    transform 0.8s ease-out 0.5s;
}

.slide.active .image-caption {
  opacity: 1;
  transform: translateX(0);
}

.image-caption.black {
  color: var(--black) !important;
}

.slide-content {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-bg-white {
  background-color: var(--white);
}
.slide-bg-gray {
  background-color: var(--elgray);
}

.slide-content-inner {
  max-width: 500px;
  padding: 40px;
  width: 100%;
}

/* Slide content animations */
.slide-content-inner > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-content-inner > * {
  opacity: 1;
  transform: translateY(0);
}

.slide.active .slide-title {
  transition-delay: 0.2s;
}
.slide.active .slide-desc {
  transition-delay: 0.4s;
}
.slide.active .btn-slide-outline,
.slide.active .btn-slide-link {
  transition-delay: 0.6s;
}

.slide-title {
  font-size: 2.7rem;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.1;
}

.slide-desc {
  font-size: 1.25rem;
  color: #555555;
  margin-bottom: 40px;
  line-height: 1.4;
}

.btn-slide-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--black);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  width: 100%;
  max-width: 320px;
  text-align: center;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.btn-slide-outline:hover {
  background-color: var(--black);
  color: var(--white);
}

.btn-slide-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  position: relative;
  display: inline-block;
}

/* --- SLIDER NAVIGATION --- */
.slider-nav {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 20px;
  z-index: 10;
}

.slider-nav button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--black);
  font-size: 18px;
  transition:
    opacity 0.2s,
    transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.slider-nav button:hover {
  opacity: 0.5;
}

.slider-nav button:active {
  transform: scale(0.9);
}

/* --- INDICATORS --- */
.slider-indicators {
  display: flex;
  margin: 20px 10px;
  max-width: 100%;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
}

.indicator {
  flex: 1;
  height: 1px;
  background-color: var(--gray);
  cursor: pointer;
  transition:
    background-color 0.4s ease,
    height 0.4s ease;
}

.indicator.active {
  background-color: var(--black);
  height: 2px;
}

/* --- MOBILE LAYOUT --- */
@media screen and (max-width: 900px) {
  .slide-content-inner {
    max-width: 500px;
    padding: 00px;
    width: 100%;
  }
  .header-top {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .desktop-search {
    display: none;
  }
  .desktop-actions {
    display: none;
  }
  .desktop-nav {
    display: none;
  }

  .mobile-header-right {
    display: flex;
  }

  .mobile-search {
    display: block;
    flex-grow: 1;
  }

  .mobile-search .search-box {
    border-color: #e5e5e5;
  }

  /* Stack banner */
  .slide-inner {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .slide-image {
    flex: none;
    width: 100%;
    height: 288px;
  }

  .slide-image img {
    width: 100%;
    height: auto;
  }

  .slide-content {
    flex: none;
    width: 100%;
    padding: 40px 24px;
    height: 375px;
  }

  .slide-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }

  .slide-desc {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }

  .btn-slide-outline {
    width: auto;
    max-width: none;
    display: inline-block;
  }

  .slider-nav {
    bottom: 22px;
    right: 16px;
    gap: 12px;
  }

  .slider-nav button {
    font-size: 16px;
    padding: 8px;
  }
}

/* --- ABOUT SECTION --- */
.about-section {
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px;
}

.about-section.width_1000 {
  max-width: 1000px;
}

.about-section.width_700 {
  max-width: 700px;
}

.about-section.width_1200 {
  max-width: 1200px;
}

.about-section h2 {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 30px;
}

.artist-abt-text h2 {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0px !important;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 24px;
}

/* Utilities */
.text-center {
  text-align: center;
}

.displayinpc {
  display: block;
}

.displayinmobile {
  display: none;
}

/* Responsive Utilities for About Section */
@media screen and (max-width: 768px) {
  .about-section {
    padding: 50px 16px;
  }

  .about-section h2 {
    font-size: 1.8rem;
  }

  .displayinpc {
    display: none;
  }

  .displayinmobile {
    display: block;
  }
}

/* Spacing Utilities */
.d_m_tb_50 {
  margin-top: 50px;
  margin-bottom: 50px;
}
.d_m_b_50 {
  margin-bottom: 50px;
}
.d_p_t_20 {
  padding-top: 20px;
}

@media screen and (max-width: 768px) {
  .m_m_tb_30 {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .m_m_b_30 {
    margin-bottom: 30px;
  }
  .m_p_t_10 {
    padding-top: 10px;
  }

  /* Reset desktop utilities on mobile if necessary */
  .d_m_tb_50,
  .d_m_b_50,
  .d_p_t_20 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
  }
}

/* --- CURATORS' PICKS CAROUSEL SECTION --- */
.curators-picks {
  width: 100%;
  margin: 60px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: normal;
  justify-content: normal;
  gap: 20px;
}

.curators-picks .section-header {
  padding: 10px;
  border-bottom: none;
  padding-bottom: 0;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  margin-top: 4px;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-container {
  width: 100%;
  overflow-x: auto;
  cursor: grab;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.carousel-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.carousel-container:active {
  cursor: grabbing;
}

.artwork-carousel {
  display: flex;
  gap: 32px;
  padding-bottom: 20px;
}

.artwork-card {
  flex: 0 0 calc((100% - (6 * 32px)) / 7);
  display: flex;
  flex-direction: column;
  width: calc((100% - (6 * 32px)) / 7);
}

.animated-hr {
  width: 200px;
  height: 2px;
  border: none;
  position: relative;
  opacity: 1;
  margin: 15px 10px;
}
.animated-hr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100px;
  background: #000;
  transform-origin: left;
  transform: scaleX(0.5);
  animation: growShrink 3s ease-in-out infinite alternate;
}
@keyframes growShrink {
  from {
    transform: scaleX(0.5);
  }
  to {
    transform: scaleX(1.5);
  }
}

.curators-picks .card-image {
  width: 100%;
  height: 320px;
  aspect-ratio: auto;
  margin-bottom: 12px;
}

.curators-picks .card-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.curators-picks .artist-name {
  margin-bottom: 0;
}

.curators-picks .save-btn {
  position: static;
  color: var(--black);
  filter: none;
  padding: 0;
  line-height: 0;
  border: 0;
  background: transparent;
}

.gallery-name {
  font-size: 14px;
  color: #666;
  margin-bottom: 2px;
}

.curators-picks .artwork-price {
  font-weight: 500;
}

/* --- CUSTOM SCROLLBAR --- */
.carousel-scrollbar {
  width: 100%;
  height: 12px; /* Increased height for better target */
  padding: 0; /* Internal padding for alignment */
  margin-top: 24px;
  position: relative;
  cursor: pointer;
}

.scrollbar-track {
  width: 100%;
  height: 1px;
  background-color: #e5e5e5;
  position: relative;
}

.scrollbar-thumb {
  position: absolute;
  top: -0.5px;
  left: 0;
  height: 2px;
  background-color: var(--black);
  width: 0%; /* Will be updated via JS */
  transition: width 0.1s ease-out;
}

/* --- RESPONSIVE CAROUSEL --- */
@media screen and (max-width: 900px) {
  .curators-picks {
    padding: 0 16px;
    margin: 40px auto;
  }

  .section-subtitle {
    font-size: 16px;
  }
}

/* --- SITE FOOTER PRECISION REFINEMENT --- */
.site-footer {
  width: 100%;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
}

.footer-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 70px;
}

.footer-column {
  min-width: 0; /* Allow grid to shrink correctly */
}

.footer-column h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #000;
}

.footer-column ul li {
  margin-bottom: 15px;
}

.footer-column ul li a {
  font-size: 15px;
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-column ul li a:hover {
  opacity: 0.6;
}

.app-links {
  margin-top: 50px;
}

.app-links h4 {
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 100px;
  height: auto;
  display: flex;
  align-items: center;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-bottom-middle {
  flex: 1;
  padding: 50px 0;
}

.copyright-info {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.copyright-info span:first-child {
  font-weight: 400;
}

.copyright-info a {
  color: #666;
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icons a {
  color: #000;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.social-icons a:hover {
  opacity: 0.6;
}
.about-section {
  position: relative;
  padding: 40px;
}
.about-section span.corner {
  position: absolute;
  display: block;
}

/* TOP LEFT */
.top-left {
  top: 0;
  left: 0;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  animation: drawTL 3s ease-in-out infinite;
}

/* TOP RIGHT */
.top-right {
  top: 0;
  right: 0;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  animation: drawTR 3s ease-in-out infinite;
}

/* BOTTOM RIGHT */
.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  animation: drawBR 3s ease-in-out infinite;
}

/* BOTTOM LEFT */
.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  animation: drawBL 3s ease-in-out infinite;
}
.top-right {
  animation-delay: 0.3s;
}
.bottom-right {
  animation-delay: 0.6s;
}
.bottom-left {
  animation-delay: 0.9s;
}
@keyframes drawTL {
  0%,
  100% {
    width: 0;
    height: 0;
  }
  50% {
    width: 10%;
    height: 20%;
  }
}
@keyframes drawTR {
  0%,
  100% {
    width: 0;
    height: 0;
  }
  50% {
    width: 10%;
    height: 20%;
  }
}
@keyframes drawBR {
  0%,
  100% {
    width: 0;
    height: 0;
  }
  50% {
    width: 10%;
    height: 20%;
  }
}
@keyframes drawBL {
  0%,
  100% {
    width: 0;
    height: 0;
  }
  50% {
    width: 10%;
    height: 20%;
  }
}

.curators-picks .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
a.view-all {
  text-decoration: underline;
}
a.view-all:hover,
a.view-all:focus {
  color: #000;
}

.curators_container {
  display: flex;
  gap: 20px;
}

.curators_container-custom {
  display: grid;
  grid-template-columns: 29fr 36.5fr 34.5fr;
  gap: 20px;
}

.cca_img {
  width: 100%;
}

figure.cca_artwork {
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

figure.cca_artwork * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

figure.cca_artwork img {
  max-width: 90%;
  margin: 20px auto;
  display: block;
  position: relative;
  border: 2px solid #949494;
  padding: 15px 15px 85px 15px;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

figure.cca_artwork figcaption {
  position: absolute;
  height: 90px;
  bottom: 0px;
  left: 0;
  right: 0;
  display: block;
}

figure.cca_artwork p {
  background-color: #ffffff;
  color: #000000;
  font-size: 22px;
  width: 100%;
  padding: 0px 12px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 400;
}

figure.cca_artwork p span {
  font-weight: 800;
}
figure.cca_artwork h3 {
  margin: 0;
  text-transform: uppercase;
  opacity: 0.6;
  font-size: 12px;
  letter-spacing: 1px;
  word-spacing: 4px;
  margin-top: -5px;
}

/* --- MOBILE FOOTER --- */
@media screen and (max-width: 768px) {
  .site-footer {
    padding: 20px 0 10px;
  }
  .footer-container {
    padding: 0 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px; /* row gap / column gap */
    align-items: center;
  }

  .footer-bottom-left {
    grid-column: 1;
  }

  .displayinmobile:first-of-type {
    grid-column: 2;
    text-align: right;
  }

  .footer-bottom-middle {
    grid-column: 1;
    padding: 10px 0;
  }

  .displayinmobile.text-center {
    grid-column: 2;
    text-align: right;
  }

  .footer-bottom-middle p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .copyright-info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .social-icons {
    width: 100%;
    display: flex;
    place-content: end;
  }
  .credits_end {
    width: 100%;
    display: flex;
    place-content: end;
    font-size: 12px;
    color: #666;
  }

  .artwork-carousel {
    gap: 16px;
  }

  .artwork-card {
    flex: 0 0 calc((100% - (1 * 16px)) / 2);
  }

  .curators-picks .card-image {
    height: 250px;
  }
  .desktop-actions {
    display: none;
  }

  .site-header.menu-open .desktop-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px;
  }
  .curators_container {
    display: grid;
  }

  .curators_container-custom {
    display: grid;
    grid-template-columns: 100%;
    gap: 20px;
  }

  figure.cca_artwork {
    margin: 0;
  }
}

/* --- ARTISTS --- */
.artists-ctn-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.artists-ctn-img {
  width: 100%;
  height: 100%;
}

.artists-ctn-img img {
  width: 100%;
  height: 100%;
}

.artists-ctn {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  padding: 15px;
  border: 1px solid var(--border-color);
}

.start-container {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  text-align: start;
}
.center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.artists-ctn-name {
  background-color: var(--black);
  padding: 5px;
  width: 100%;
}

.artists-ctn-name h3 {
  color: var(--white);
}

.artists-container {
  width: 100%;
  margin: 60px 0;
}

.margin-top-ctn {
  margin-top: 60px;
}
.margin-bottom-ctn {
  margin-top: 60px;
}

.artists-ctn-single {
  max-width: 300px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .artists-ctn-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- SINGLE PRODUCT PAGE --- */
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 60px 0;
  align-items: start;
}

.product-singe-img {
  width: 100%;
}

.main-image-container {
  width: 100%;
  background-color: var(--elgray);
  margin-bottom: 20px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.thumbnail-item {
  aspect-ratio: 1/1;
  background-color: var(--elgray);
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  overflow: hidden;
}

.thumbnail-item:hover,
.thumbnail-item.active {
  border-color: var(--black);
  opacity: 0.8;
}

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

.product-singe-detail {
  padding-top: 10px;
}

.product-singe-detail .cca_title {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.1;
  color: var(--black);
}

.product-singe-detail .cca_artist {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 24px;
  display: block;
  color: var(--black);
}

.stock-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: #f0fdf4;
  color: #166534;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-meta {
  margin-bottom: 32px;
  font-size: 0.95rem;
  color: var(--dgray);
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.product-meta p {
  margin-bottom: 8px;
}

.product-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 40px;
}

.cca_action {
  display: flex;
  gap: 16px;
}

.cca_button {
  flex: 1;
  background-color: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  padding: 18px 32px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
}

.cca_button:hover {
  background-color: transparent;
  color: var(--black);
}

@media screen and (max-width: 992px) {
  .grid-two {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 40px 0;
  }

  .product-singe-detail .cca_title {
    font-size: 2.2rem;
  }

  .thumbnail-grid {
    gap: 10px;
  }
}

.main_header_container-artist-ctn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.main_header_container-artist-ctn img {
  max-width: 400px;
}

/* Product Gallery Link Styles */
.cca_artwork a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cca_artwork .cca_artist a {
  color: var(--black);
  transition: opacity 0.3s ease;
}

.cca_artwork .cca_artist a:hover {
  opacity: 0.7;
}

/* PDF Viewer Integrated Styling */
#pdf-viewer-wrapper {
  transition: all 0.3s ease;
}

#pdf-pages canvas {
  transition: transform 0.3s ease;
}

/* Ensure main content handles the gray background nicely */
.main-content.d_m_tb_30 {
  padding-bottom: 0;
}

/* PDF Viewer Responsiveness */
@media screen and (max-width: 768px) {
  #pdf-viewer-wrapper {
    margin-top: 15px;
    border-radius: 0; /* Full width on mobile */
    border-left: none;
    border-right: none;
  }

  #pdf-pages {
    padding: 20px 10px !important;
  }
}

.grid-two-artist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: -53px;
}

.artist-abt-image {
  background-color: var(--white);
  padding: 10px;
  border: 1px solid var(--black);
}

.artist-abt-image img {
  width: 100%;
  height: auto;
}

.artist-abt-text {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  text-align: start;
  gap: 10px;
}

@media screen and (max-width: 720px) {
  .grid-two-artist {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* --- VARIATION SELECTION --- */
.variation-ctn {
  margin-bottom: 32px;
}

.variation-ctn p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.variation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.variation-item {
  border: 1px solid var(--border-color);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--white);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 50px;
}

.variation-item:hover {
  border-color: var(--black);
}

.variation-item.active {
  border-color: var(--black);
  background-color: var(--black);
  color: var(--white);
}

.variation-item .size-label {
  font-size: 14px;
  font-weight: 500;
}

.variation-item .price-label {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
  display: none; /* Hide individual price in grid if preferred, or keep it */
}

@media screen and (max-width: 480px) {
  .variation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
