/* Materiality: Ceramic Gloss & Fluidity */
.ceramic-surface {
    background: var(--ceramic-glaze);
    border-radius: 40px;
    box-shadow: 
        20px 20px 60px var(--clay-shadow),
        -20px -20px 60px #ffffff,
        inset 0 0 20px rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}

.ceramic-surface::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.8) 50%, transparent 55%);
    transform: rotate(-20deg);
    pointer-events: none;
    opacity: 0.3;
}

.logo {
    font-weight: 800
;    font-size: 1.5rem;
    letter-spacing: -1px;
    text-transform: lowercase;
}

.mono {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--botanical-muted);
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

#form-product{
    width:100%;
}

/* Product Visuals */
.product-gallery {
    position: sticky;
    top: 150px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: slideUp 1s ease-out;
}

.main-stage {
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--fluid-transition);
}

.main-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(20px 30px 40px rgba(0,0,0,0.1));
    transition: var(--fluid-transition);
}

.main-stage:hover img {
    transform: scale(1.05) translateY(-10px);
}

.thumbnails {
    display: flex;
    gap: 1.5rem;
    padding-left: 2rem;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--fluid-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--clay-shadow);
}

.thumb.active {
    border: 2px solid var(--botanical-deep);
}

/* Product Info */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge-row {
    display: flex;
    gap: 1rem;
     flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: #f0f2f0;
    font-size: 0.7rem;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 400;
}

.current-price.price-old{
    font-size: 1.6rem;
}

.tax-info {
    font-size: 0.8rem;
    color: var(--botanical-muted);
}

.description {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--botanical-muted);
    max-width: 500px;
    max-height: 440px;
    overflow: auto;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.spec-item .label {
    display: block;
    margin-bottom: 0.5rem;
}

.spec-item .value {
    font-size: 1.1rem;
    font-weight: 600;
}

.actions {
    padding-top: 1rem;
}

.btn {
    height: 60px;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--fluid-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3rem;
}

.btn-main {
    background: var(--botanical-deep);
    color: #fff;
    flex-grow: 1;
    box-shadow: 0 20px 40px rgba(26, 42, 30, 0.2);
}

.btn-main:hover,
.btn-main:focus,
.btn-main:active {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(26, 42, 30, 0.3);
    background: var(--flora-leaf);
    color: #fff !important;
}

.btn-secondary {
    background: white;
    color: var(--botanical-deep);
    border: 1px solid #eee;
    width: 60px;
    padding: 0;
}

.btn-secondary:hover {
    background: #f9f9f9;
    transform: scale(1.05);
    color:black;
}

main .btn-main:disabled{
    background-color: #303030 !important;
    color:#fff !important;
}

/* Floating Info Cards */
.benefit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.benefit-card {
    padding: 2rem;
    text-align: center;
}

.benefit-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.8rem;
    color: var(--botanical-muted);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Optimization */
@media (max-width: 1024px) {
    main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .product-gallery {
        position: relative;
        top: 0;
    }
    .main-stage {
        height: 400px;
    }

    h1 {
        font-size: 2rem;
    }

    .current-price{
        font-size: 1.7rem;
    }
}

/* Custom Quantity Input */
.qty-selector {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 35px;
    padding: 0 1rem;
}

.qty-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: none;
    font-family: 'Space Mono', monospace;
    font-weight: 600;
}

/* Fluid Background Blob */
.blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 163, 125, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    top: 10%;
    right: -10%;
    filter: blur(80px);
    border-radius: 50%;
}

.product-page-container{
      overflow-x: hidden;
    line-height: 1.6;
}


.product-page-container h1{
     color: var(--botanical-deep);
}


body{
     font-family: Uni, serif;
}


.variant-container {
  margin-bottom: 50px;
}

.variant-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.variant-header h3 {
    font-size: 1.45rem;
    letter-spacing: 0.2em;
    margin: 0;
    font-weight: 600;
    color: var(--nectar-glow);
}

.variant-header .data-label {
    font-family: 'Uni', monospace;
    font-size: 0.7rem;
    opacity: 0.5;
}

.variant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* The Radio Logic */
.variant-option {
    position: relative;
    cursor: pointer;
    display: block;
    user-select: none;
}

.variant-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* The Viscous Surface */
.variant-surface {
    position: relative;
    padding: 15px 10px;
    border-radius: 18px;
   /* background: rgb(42 57 48);
    border: 1px solid rgba(255, 255, 255, 0.05);*/
    backdrop-filter: var(--glass-blur);
    transition: all 0.6s var(--tension-ease);
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    background: var(--botanical-light);
    border-color: var(--botanical-light);
    height: 100%;
}

/* Surface Tension Highlight */
.variant-surface::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    pointer-events: none;
}

/* Floating Droplet (Indicator) */
.droplet {
    width: 12px;
    height: 12px;
    transition: all 0.8s var(--tension-ease);
    position: relative;
    color: var(--nectar-glow);
}

.droplet svg{
    position: relative;
    bottom:5px;
}

.variant-option:hover .variant-surface {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.variant-option input:checked + .variant-surface {
   background: var(--flora-leaf);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.variant-option input:checked + .variant-surface .droplet {
     color: var(--botanical-light);
    transform: scale(1.3);
}

/* Typography within Surface */
.content-group {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.variant-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--botanical-deep);
    transition: color 0.4s var(--tension-ease);
}

.variant-meta {
    font-family: 'Uni', monospace;
    font-size: 0.7rem;
    color: rgba(233, 240, 232, 0.5);
    margin-top: 4px;
    transition: color 0.4s var(--tension-ease);
}

.variant-option input:checked + .variant-surface .variant-title {
    color: var(--botanical-light);
}

.variant-option input:checked + .variant-surface .variant-meta {
    color: rgba(22, 38, 29, 0.6);
}

/* Price Tag */
.price-tag {
    margin-left: auto;e
    font-family: 'Uni', monospace;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--botanical-deep);
    transition: color 0.4s var(--tension-ease);
}

.variant-option input:checked + .variant-surface .price-tag {
    color: var(--botanical-light);
    font-weight: 600;
}

/* Liquid Entry Animation */
@keyframes reveal {
    from { opacity: 0; transform: translateY(20px) scale(0.98); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.variant-option {
    animation: reveal 1s var(--tension-ease) forwards;
    opacity: 0;
}

.variant-option:nth-child(1) { animation-delay: 0.1s; }
.variant-option:nth-child(2) { animation-delay: 0.2s; }
.variant-option:nth-child(3) { animation-delay: 0.3s; }

/* SVG Goo Filter for interaction */
.goo-filter {
    position: absolute;
    visibility: hidden;
}

.btn-cont{
    display: flex;
    gap:20px;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    margin-bottom: 0.95rem;
    font-size: 1.2em;
    color: var(--bs-form-invalid-color);
}

@media (max-width: 968px) {
    .qty-selector{
        padding: 0;
    }

    .btn-cont {
        gap:2px;
    }

    .badge-row {
        gap:0.2rem;
    }

    .description{
        max-height: 240px;
    }
}
@media (max-width: 568px) {
    .description{
        max-height: 340px;
    }

    .actions{
        padding-top: 1.5rem;
    }

    .variant-surface{
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .price-tag{
        margin-left: 0;
    }

    .btn.btn.btn-main{
        width: auto;
    }
    
}
@media (max-width: 368px) {
    .qty-input {
        width: 25px;
    }

    .price-tag{
        font-size: 0.8rem;
    }
}


.rating p .wrap-link{
    margin-left:20px;
}

#tab-review{
    max-width:1200px;
    margin:50px auto 0 auto;
}

.rounded-table-container {
  border-radius: 12px; /* Adjust for more/less roundness */
  overflow: hidden;    /* Clips the square corners of the table inside */
  border: 1px solid #dee2e6; /* Matches Bootstrap's default border color */
  margin-bottom: 20px;
}

/* 2. Remove default Bootstrap border-top on the first row to avoid double borders */
.rounded-table-container .table {
  margin-bottom: 0; /* Removes bottom spacing */
}

.rounded-table-container .table thead th {
  border-top: none;
}

#tab-review .form-check-input:checked {
    background-color: var(--nectar-glow);
    border-color: var(--nectar-glow);
    transform:none;
}

