/* Container */
.watch-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}


/* Detail Section */
.watch-detail-section {
    padding: 2rem 0;
    background-color: #ffffff;
}

.watch-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .watch-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Images Column */
.watch-images-col {
    position: sticky;
    top: 1.25rem;
    height: fit-content;
}

.watch-main-image {
    position: relative;
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watch-main-img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.watch-discount-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 10;
}

.watch-thumbnails {
    display: flex;
    gap: 0.75rem;
}

.watch-thumb {
    width: calc(33.333% - 0.5rem);
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: border-color 0.3s;
}

.watch-thumb:hover,
.watch-thumb.active {
    border-color: #111827;
}

.watch-thumb img {
    width: 100%;
    height: 80px;
    object-fit: contain;
}

/* Info Column */
.watch-info-col {
    padding: 1.25rem 0;
}

.watch-product-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.watch-category-line {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.watch-category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.watch-category-link:hover {
    color: var(--text-dark);
}

.watch-rating-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.watch-stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.watch-review-text {
    color: #6b7280;
    font-size: 0.875rem;
}

.watch-price-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.watch-current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.watch-original-price {
    font-size: 1.25rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.watch-short-desc {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 1.875rem;
}

/* Quantity Box */
.watch-quantity-box {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
}

.watch-qty-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.watch-qty-controls {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #ffffff;
    margin-right: 1rem;
}

.watch-qty-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background-color: transparent;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    transition: all 0.3s;
}

.watch-qty-btn:hover:not(:disabled) {
    background-color: #f9fafb;
    color: #111827;
}

.watch-qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.watch-qty-input {
    width: 3.75rem;
    height: 2.5rem;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

.watch-qty-input::-webkit-outer-spin-button,
.watch-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.watch-stock-text {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Button Group */
.watch-button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.watch-btn {
    padding: 0.875rem 1.875rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.watch-btn-outline {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.watch-btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.watch-btn-solid {
    background-color: var(--primary-color);
    color: #ffffff;
}

.watch-btn-solid:hover {
    background-color: var(--text-dark);
}

.watch-out-of-stock .watch-stock-btn {
    width: 100%;
    padding: 0.875rem;
    background-color: #d1d5db;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: not-allowed;
}

/* Extra Actions */
.watch-extra-actions {
    display: flex;
    gap: 1rem;
}

.watch-extra-btn {
    flex: 1;
    padding: 0.75rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.watch-extra-btn:hover {
    border-color: #111827;
    color: #111827;
}

/* Tabs Section Redesign */
.watch-tabs-container {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.watch-tabs-left {
    width: 250px;
    flex-shrink: 0;
    border-right: 1px solid #f0f0f0;
    padding-right: 20px;
}

.watch-tabs-nav-vertical {
    display: flex;
    flex-direction: column;
}

.watch-tab-btn {
    text-align: left;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 5px;
}

.watch-tab-btn.active {
    background: #f1f5f9;
    color: var(--primary-color);
    font-weight: 700;
}

.watch-tab-btn:hover:not(.active) {
    background: #f8fafc;
    color: #000;
}

.watch-tabs-right {
    flex-grow: 1;
    min-width: 0;
}

.watch-tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.watch-tab-panel.active {
    display: block;
}

.watch-tab-header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.watch-tab-body {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

/* Sticky Bottom Bar */
.sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 12px 0;
    transform: translateY(105%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: 1px solid #eee;
}

.sticky-buy-bar.visible {
    transform: translateY(0);
}

.sticky-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sticky-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.sticky-bar-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.sticky-bar-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sticky-bar-info {
    min-width: 0;
    flex: 1;
}

.sticky-bar-name {
    font-weight: 700;
    font-size: 15px;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-bar-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.sticky-bar-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.sticky-bar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-qty {
    margin-right: 0 !important;
    background: #fff !important;
    border-radius: 30px !important;
}

.sticky-qty .watch-qty-btn {
    width: 35px;
    height: 35px;
}

.sticky-buy-btn {
    border-radius: 30px !important;
    padding: 10px 35px !important;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .watch-tabs-container {
        flex-direction: column;
    }

    .watch-tabs-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding-right: 0;
        padding-bottom: 15px;
    }

    .watch-tabs-nav-vertical {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .watch-tab-btn {
        white-space: nowrap;
        margin-bottom: 0;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .sticky-buy-bar {
        bottom: 65px !important;
        /* Push up to avoid social buttons */
    }

    .sticky-bar-name,
    .sticky-bar-img {
        display: none;
    }
}

/* Similar Products */
.watch-similar-products {
    margin-top: 3rem;
}

.watch-similar-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.875rem;
    color: #111827;
}

/* Products Grid */
.watch-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .watch-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .watch-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.watch-product-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
    border: 1px solid #e5e7eb;
}

.watch-product-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.watch-product-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    background-color: #f9fafb;
    padding: 1rem;
    overflow: hidden;
}

.watch-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.watch-product-card:hover .watch-product-img {
    transform: scale(1.05);
}

.watch-product-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.watch-product-card:hover .watch-product-overlay {
    background-color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.watch-product-actions {
    display: flex;
    gap: 0.5rem;
}

.watch-action-form {
    display: inline;
}

.watch-action-btn {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.watch-action-btn:hover {
    background-color: #111827;
    color: #ffffff;
    border-color: #111827;
}

.watch-action-btn i,
.watch-action-btn span {
    font-size: 0.875rem;
}

.watch-product-info {
    padding: 1rem;
}

.watch-product-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.5rem;
    height: 2.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.watch-product-link {
    color: #111827;
    text-decoration: none;
}

.watch-product-link:hover {
    color: #4b5563;
}

.watch-product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.watch-price-current {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.watch-price-old {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.watch-add-cart-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.watch-add-cart-btn:hover {
    background-color: var(--text-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .watch-images-col {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .watch-button-group {
        grid-template-columns: 1fr;
    }

    .watch-product-title {
        font-size: 1.375rem;
    }

    .watch-current-price {
        font-size: 1.625rem;
    }
}

@media (max-width: 480px) {
    .watch-main-image {
        min-height: 300px;
    }

    .watch-quantity-box {
        padding: 1rem;
    }

    .watch-tabs-nav {
        flex-direction: column;
        gap: 0;
    }

    .watch-tab-btn {
        padding: 0.75rem 1.25rem;
    }

    .watch-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .watch-product-info {
        padding: 0.75rem;
    }

    .watch-product-name {
        font-size: 0.8125rem;
    }

    .watch-price-current {
        font-size: 1rem;
    }

    .watch-add-cart-btn {
        font-size: 0.8125rem;
        padding: 0.5rem;
    }
}

/* Description Toggle Styles */
.watch-description-inner {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
}

.watch-description-inner.expanded {
    max-height: 15000px;
    /* Large enough value to expand fully */
}

/* Premium Typography within Description content */
.watch-description-inner p {
    margin-top: 0;
    margin-bottom: 16px;
    color: #444444;
}

.watch-description-inner strong,
.watch-description-inner b {
    color: #111111;
    font-weight: 700;
}

.watch-description-inner h2,
.watch-description-inner h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin-top: 32px;
    margin-bottom: 16px;
    border-left: 4px solid var(--primary-color);
    padding-left: 14px;
    line-height: 1.4;
}

.watch-description-inner h4,
.watch-description-inner h5,
.watch-description-inner h6 {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.watch-description-inner ul {
    list-style-type: none;
    padding-left: 20px;
    margin-top: 0;
    margin-bottom: 20px;
}

.watch-description-inner ul li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 15px;
    color: #444444;
}

.watch-description-inner ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
    position: absolute;
    left: 0;
    top: -2px;
}

.watch-description-inner ol {
    padding-left: 20px;
    margin-top: 0;
    margin-bottom: 20px;
}

.watch-description-inner ol li {
    margin-bottom: 8px;
    color: #444444;
}

.watch-description-inner blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 16px;
    margin-left: 0;
    margin-right: 0;
    color: #6b7280;
    font-style: italic;
}

.watch-description-inner:not(.expanded):not(.no-fade)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(transparent, #ffffff);
    pointer-events: none;
}

.watch-description-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 25px auto 0;
    padding: 10px 30px;
    background-color: #ffffff;
    border: 1.5px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(240, 43, 43, 0.08);
}

.watch-description-toggle:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(240, 43, 43, 0.25);
    transform: translateY(-2px);
}

.watch-description-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

/* Premium Table Specs Style */
.watch-description-inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 14px;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.watch-description-inner table tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
}

.watch-description-inner table tr:last-child {
    border-bottom: none;
}

.watch-description-inner table tr:hover {
    background-color: #f8fafc;
}

.watch-description-inner table td {
    padding: 12px 16px;
    vertical-align: middle;
    line-height: 1.5;
}

.watch-description-inner table tr td:first-child {
    font-weight: 700;
    color: #475569;
    background-color: #f8fafc;
    width: 30%;
    min-width: 140px;
    font-size: 13px;
    letter-spacing: 0.03em;
    border-right: 1px solid #f1f5f9;
}

.watch-description-inner table tr td:last-child {
    color: #1e293b;
    padding-left: 20px;
    font-weight: 500;
}

@media (max-width: 576px) {
    .watch-description-inner table tr {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #f1f5f9;
    }
    .watch-description-inner table tr td:first-child {
        width: 100%;
        background-color: #f8fafc;
        border-right: none;
        padding-bottom: 6px;
    }
    .watch-description-inner table tr td:last-child {
        width: 100%;
        padding-top: 6px;
        padding-left: 16px;
    }
}

/* Product Detail Specifications Redesign */
.product-spec-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.spec-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0 !important;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: none !important;
    padding-left: 0 !important;
}

.spec-title i {
    color: var(--primary-color);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.spec-table tr {
    border-bottom: 1px solid #f1f5f9 !important;
}

.spec-table tr:last-child {
    border-bottom: none !important;
}

.spec-table td {
    padding: 12px 14px !important;
    border: none !important;
}

.spec-table tr td:first-child {
    font-weight: 600 !important;
    color: #64748b !important;
    background-color: transparent !important;
    width: 35% !important;
    font-size: 14px !important;
    border-right: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-table tr td:first-child i {
    color: #94a3b8;
    width: 16px;
    text-align: center;
}

.spec-table tr td:last-child {
    color: #1e293b !important;
    font-weight: 600 !important;
    padding-left: 12px !important;
    font-size: 14px;
}

/* Tasting Notes */
.tasting-notes-section {
    margin-bottom: 30px;
}

.tasting-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 25px !important;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: none !important;
    padding-left: 0 !important;
}

.tasting-title i {
    color: var(--primary-color);
}

.tasting-desc {
    font-size: 14.5px;
    line-height: 1.8;
    color: #334155;
    background: #faf8f5; /* light cream */
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
}

.tasting-desc p {
    margin-bottom: 12px !important;
}
.tasting-desc p:last-child {
    margin-bottom: 0 !important;
}

/* Serving Instructions */
.serving-instruction-block {
    margin-bottom: 30px;
}

.serving-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 25px !important;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: none !important;
    padding-left: 0 !important;
}

.serving-title i {
    color: var(--primary-color);
}

.serving-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.serving-list li {
    position: relative;
    padding: 14px 18px 14px 45px !important;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 0 !important;
}

.serving-list li::before {
    display: none !important; /* Hide dot bullet */
}

.serving-list li i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}