.gsp-product-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.85rem 2rem;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.08);
  font-family: "Figtree", sans-serif;
  color: #111;
}

@media (max-width: 1024px) {
  .gsp-product-info {
    padding: 1.65rem;
    gap: 1.35rem;
  }
}

@media (max-width: 640px) {
  .gsp-product-info {
    padding: 0;
    gap: 1.25rem;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

.gsp-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.06);
}

.gsp-brand-row .gsp-brand-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gsp-brand-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gsp-brand-logo img {
  max-height: 38px;
  width: auto;
  display: block;
}

.gsp-brand-name a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gsp-brand-name a:hover,
.gsp-brand-name a:focus-visible {
  color: #f9b233;
  outline: none;
}

.gsp-heading-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gsp-product-title {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111;
}

@media (max-width: 640px) {
  .gsp-product-title {
    font-size: 1.65rem;
  }
}

.gsp-product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
}

.gsp-product-rating .woocommerce-review-link {
  color: inherit;
  text-decoration: none;
}

.gsp-product-rating .woocommerce-review-link:hover,
.gsp-product-rating .woocommerce-review-link:focus-visible {
  color: #111;
  outline: none;
}

.gsp-product-rating .star-rating {
  margin: 0;
  font-size: 1.1rem;
  color: #f9b233;
}

.gsp-product-rating .star-rating::before,
.gsp-product-rating .star-rating span::before {
  color: #f9b233;
}

.gsp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.gsp-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: #111;
}

.gsp-product-price del {
  order: 1;
  font-size: 1rem;
  font-weight: 500;
  color: #8a8a8a;
  opacity: 0.85;
}

.gsp-product-price ins {
  order: 2;
  text-decoration: none;
  color: #111;
}

.gsp-product-price .amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.gsp-product-stock {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  flex-shrink: 0;
}

.gsp-product-stock::before {
  display: none;
}

.gsp-stock-available {
  color: #0a8a4d;
}

.gsp-stock-low {
  color: #b55300;
}

.gsp-stock-unavailable {
  color: #a1a1a1;
}

.gsp-description-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .gsp-brand-row,
  .gsp-tabs,
  .gsp-attribute-group,
  .gsp-attr,
  .gsp-scale,
  .gsp-description-wrapper,
  .gsp-product-short-desc,
  .gsp-color-section {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .gsp-brand-row,
  .gsp-tabs {
    padding: 0;
  }

  .gsp-attribute-group {
    padding: 0;
    gap: 1rem;
  }

  .gsp-attr {
    padding: 0;
    margin-bottom: 0.85rem;
  }

  .gsp-attr:last-child {
    margin-bottom: 0;
  }

  .gsp-description-wrapper {
    padding: 0;
    border-radius: 0;
  }

  .gsp-description-fade {
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
  }

  .gsp-product-short-desc,
  .gsp-color-section {
    padding: 0;
  }

  .gsp-color-thumb {
    box-shadow: none;
  }
}

.gsp-product-short-desc {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 1.35rem;
  color: #444;
  line-height: 1.6;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.06);
}

.gsp-product-short-desc p {
  margin: 0 0 0.85rem;
}

.gsp-product-short-desc p:last-child {
  margin-bottom: 0;
}

.gsp-section-heading {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #444;
  margin: 0;
}

.gsp-color-section {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.35rem;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.06);
}

.gsp-color-related {
  display: block;
}

.gsp-color-loader {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 80px));
  gap: 10px;
}

.gsp-color-loader-item {
  display: block;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f1f1f1 0%, #e1e1e1 100%);
  border-radius: 16px;
  animation: gsp-pulse 1.4s ease-in-out infinite;
}

.gsp-color-loader-item:nth-child(2) {
  animation-delay: 0.2s;
}

.gsp-color-loader-item:nth-child(3) {
  animation-delay: 0.4s;
}

.gsp-color-loader-item:nth-child(4) {
  animation-delay: 0.6s;
}

.gsp-color-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 80px));
  gap: 10px;
  justify-content: flex-start;
}

.gsp-color-thumb {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ececec;
  background: #fff;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gsp-color-thumb:hover,
.gsp-color-thumb:focus-visible {
  transform: translateY(-3px);
  border-color: #d8d8d8;
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.12);
  outline: none;
}

.gsp-color-thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gsp-color-thumb:hover img,
.gsp-color-thumb:focus-visible img {
  transform: scale(1.05);
}

.gsp-color-thumb.out-of-stock {
  opacity: 0.5;
  pointer-events: none;
}

.gsp-color-thumb.out-of-stock::after {
  content: "Brak";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.gsp-size-finder-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.06);
}

.gsp-size-finder-card .gurimao-size-finder-wrapper {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.gsp-size-finder-card .gurimao-size-finder-button {
  width: 100%;
  border-radius: 14px;
  font-weight: 700;
}

.gsp-purchase-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.45rem;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 18px;
  box-shadow: 0 22px 44px rgba(17, 17, 17, 0.08);
}

.gsp-purchase-form .guri-button-large {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  border-radius: 12px;
}

.gsp-purchase-form .guri-button-large:disabled {
  cursor: not-allowed;
  background: #e8e8e8;
  color: #888;
  box-shadow: none;
}

.guri-size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 10px;
  padding: 1.1rem;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.06);
}

.guri-size-grid.gsp-scroll-highlight {
  border-color: #f9b233;
  box-shadow: 0 0 0 3px rgba(249, 178, 51, 0.28);
  animation: gsp-grid-highlight 1.2s ease;
}

.gsp-purchase-form .guri-size-grid + .guri-size-grid {
  margin-top: 0.4rem;
}

.guri-size-grid-label {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #555;
}

.guri-size-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.45rem;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: not-allowed;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.guri-size-option.available {
  cursor: pointer;
}

@keyframes gsp-grid-highlight {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 178, 51, 0.4);
  }

  45% {
    box-shadow: 0 0 0 4px rgba(249, 178, 51, 0.25);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(249, 178, 51, 0);
  }
}

.gsp-mobile-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 14px 18px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #ececec;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -26px 46px rgba(17, 17, 17, 0.14);
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gsp-mobile-sticky.is-ready {
  opacity: 1;
  transform: translateY(0);
}

@supports (backdrop-filter: blur(12px)) {
  .gsp-mobile-sticky {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.88);
  }
}

.gsp-mobile-sticky__content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: min(640px, 100%);
  margin: 0 auto;
}

.gsp-mobile-sticky__details {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.gsp-mobile-sticky__status {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #111;
}

.gsp-mobile-sticky:not(.has-selection):not(.is-unavailable) .gsp-mobile-sticky__status {
  display: none;
}

.gsp-mobile-sticky:not(.has-selection):not(.is-unavailable) .gsp-mobile-sticky__details {
  gap: 0;
}


.gsp-mobile-sticky__change {
  display: none;
  align-self: flex-start;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  cursor: pointer;
}

.gsp-mobile-sticky__change:hover,
.gsp-mobile-sticky__change:focus-visible {
  color: #f9b233;
  outline: none;
}

.gsp-mobile-sticky__cta {
  flex: 1 1 180px;
  display: inline-flex;
  justify-content: center;
  width: auto;
  padding: 0.85rem 1.4rem;
  border-radius: 14px;
}

.gsp-mobile-sticky__cta:disabled {
  cursor: not-allowed;
  background: #e8e8e8;
  color: #888;
  box-shadow: none;
}
.gsp-mobile-sticky__cta.is-disabled {
  background: #e8e8e8;
  color: #888;
  box-shadow: none;
}

.gsp-mobile-sticky__cta.is-disabled:hover,
.gsp-mobile-sticky__cta.is-disabled:focus-visible {
  box-shadow: none;
}


.gsp-mobile-sticky.has-selection .gsp-mobile-sticky__change {
  display: inline-flex;
}

.gsp-mobile-sticky.is-unavailable .gsp-mobile-sticky__status {
  color: #a1a1a1;
}

@media (max-width: 768px) {
  .gsp-mobile-sticky.is-ready {
    display: block;
  }
}

@media (min-width: 769px) {
  .gsp-mobile-sticky {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .gsp-mobile-sticky__content {
    gap: 12px;
  }

  .gsp-mobile-sticky__cta {
    flex: 1 1 100%;
  }
}

.guri-size-option.available:hover,
.guri-size-option.available:focus-visible {
  transform: translateY(-2px);
  border-color: #cfcfcf;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.12);
  outline: none;
}

.guri-size-option.selected {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.25);
}

.guri-size-option.selected:hover,
.guri-size-option.selected:focus-visible {
  transform: translateY(-2px);
}

.guri-size-option:not(.available) {
  background: #f2f2f2;
  color: #9b9b9b;
  border-style: dashed;
  opacity: 0.65;
}

.gsp-add-to-cart {
  position: relative;
  text-transform: uppercase;
}

.gsp-add-to-cart.loading {
  pointer-events: none;
  opacity: 0.85;
}

.gsp-add-to-cart.loading::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-top-color: transparent;
  transform: translateY(-50%);
  animation: gsp-spin 0.8s linear infinite;
}

.gsp-spinner {
  display: none;
  width: 18px;
  height: 18px;
  margin-left: auto;
  border-radius: 50%;
  border: 2px solid rgba(17, 17, 17, 0.18);
  border-top-color: #111;
  animation: gsp-spin 0.8s linear infinite;
}

.gsp-add-error {
  margin-top: -0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c02020;
}

.guri-value-props {
  background: linear-gradient(135deg, #fff7e6 0%, #ffe4b0 100%);
  border: 1px solid #ffd9a1;
  border-radius: 20px;
  padding: 1.6rem 1.75rem;
  box-shadow: 0 28px 56px rgba(249, 178, 51, 0.25);
}

.guri-value-props ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guri-value-props li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.98rem;
  color: #4a3815;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.guri-value-props li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #f9b233;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 0.75rem;
  font-weight: 800;
}

.gsp-divider {
  display: none;
}

#gsp-add-to-cart-modal .gsp-modal-overlay {
  background: rgba(17, 17, 17, 0.55);
}

#gsp-add-to-cart-modal .gsp-modal-content {
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 28px 60px rgba(17, 17, 17, 0.2);
  font-family: "Figtree", sans-serif;
}

.gsp-modal-button {
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@keyframes gsp-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes gsp-pulse {
  0% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.65;
  }
}
