.detail-image-wrap {
   position: relative;
   display: inline-block;
   max-width: 520px;
   width: 100%;
   border-radius: 12px;
   overflow: hidden;
   background: #f8fafc;
   border: 1px solid #e2e8f0;
   cursor: zoom-in;
   --zoom-x: 50%;
   --zoom-y: 50%;
}

.detail-image-wrap img {
   width: 100%;
   display: block;
}

.detail-image-zoom-target {
   transform: scale(1);
   transform-origin: var(--zoom-x) var(--zoom-y);
   transition: transform 0.12s ease-out;
   will-change: transform;
}

.detail-image-wrap.is-zoomed .detail-image-zoom-target {
   transform: scale(1.9);
}

@media (hover: none) {
   .detail-image-wrap,
   .detail-image-wrap.is-zoomed {
      cursor: default;
   }

   .detail-image-wrap.is-zoomed .detail-image-zoom-target {
      transform: scale(1);
   }
}

.detail-info {
   font-size: 15px;
   line-height: 1.8;
   color: #334155;
}

.detail-info p {
   margin-bottom: 6px;
}

.detail-info strong {
   color: #1e293b;
   min-width: 110px;
   display: inline-block;
}

.detail-seo-codes-wrap {
   margin-top: 10px;
}

.detail-seo-codes {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   margin-top: 8px;
}

.detail-seo-code {
   display: inline-flex;
   align-items: center;
   background: #f1f5f9;
   color: #334155;
   border: 1px solid #e2e8f0;
   border-radius: 999px;
   padding: 3px 10px;
   font-size: 12px;
   line-height: 1.3;
   white-space: nowrap;
}

.detail-title {
   font-size: 26px;
   font-weight: 700;
   color: #1e293b;
   margin-bottom: 16px;
   line-height: 1.3;
}

.detail-price {
   font-size: 28px;
   font-weight: 700;
   color: #059669;
   margin-bottom: 4px;
}

.detail-kdv-note {
   font-size: 14px;
   color: #64748b;
   margin-bottom: 20px;
}

.detail-divider {
   border: 0;
   border-top: 1px solid #e2e8f0;
   margin: 16px 0;
}

.detail-fav-btn {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border: 1px solid #fecaca;
   color: #dc2626;
   background: #fff;
   transition: all 0.15s ease;
}

.detail-fav-btn:hover {
   background: #fee2e2;
   color: #b91c1c;
}

.spec-wrap {
   background: #f8fafc;
   border: 1px solid #e2e8f0;
   border-radius: 12px;
   padding: 24px;
}

.spec-table {
   width: 100%;
   border-collapse: collapse;
   background: #fff;
   border-radius: 8px;
   overflow: hidden;
}

.spec-table th,
.spec-table td {
   border: 1px solid #e2e8f0;
   padding: 11px 14px;
   font-size: 14px;
}

.spec-table thead th {
   background: #f0fdf4;
   color: #166534;
   font-size: 15px;
   font-weight: 600;
}

.spec-table th {
   width: 40%;
   background: #f8fafc;
   color: #475569;
   font-weight: 600;
}

.spec-table tr:nth-child(even) td {
   background: #fafbfc;
}

.spec-side {
   background: #fff;
   border: 1px solid #e2e8f0;
   border-radius: 8px;
   padding: 18px;
   height: 100%;
}

.spec-side h5 {
   font-size: 16px;
   font-weight: 600;
   color: #1e293b;
}

.out-of-stock-ribbon {
   position: absolute;
   top: 12px;
   left: 12px;
   background: #ef4444;
   color: #fff;
   text-align: center;
   font-size: 12px;
   font-weight: 600;
   letter-spacing: 0.3px;
   text-transform: uppercase;
   padding: 5px 12px;
   white-space: nowrap;
   z-index: 5;
   pointer-events: none;
   border-radius: 6px;
}

.guest-cart-choice-modal {
   position: fixed;
   inset: 0;
   background: rgba(2, 6, 23, 0.5);
   z-index: 9999;
   display: none;
   align-items: center;
   justify-content: center;
   padding: 16px;
}

.guest-cart-choice-modal.is-open {
   display: flex;
}

.guest-cart-choice-card {
   width: 100%;
   max-width: 460px;
   background: #ffffff;
   border-radius: 14px;
   border: 1px solid #e2e8f0;
   padding: 20px;
   position: relative;
   box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
}

.guest-cart-choice-title {
   margin: 0 0 10px;
   font-size: 20px;
   font-weight: 700;
   color: #0f172a;
}

.guest-cart-choice-text {
   margin: 0 0 16px;
   font-size: 14px;
   color: #475569;
   line-height: 1.6;
}

.guest-cart-choice-actions {
   display: grid;
   gap: 10px;
}

.guest-cart-choice-actions .btn {
   width: 100%;
   font-weight: 600;
}

.guest-cart-choice-close {
   position: absolute;
   top: 8px;
   right: 8px;
   border: 0;
   background: transparent;
   color: #64748b;
   width: 32px;
   height: 32px;
   border-radius: 50%;
   font-size: 24px;
   line-height: 1;
   cursor: pointer;
}

.guest-cart-choice-close:hover {
   background: #f1f5f9;
   color: #0f172a;
}

body.guest-cart-choice-lock {
   overflow: hidden;
}
