/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ebebeb;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: #3483fa;
}

/* Typography styles to match ML */
h1, h2, h3, h4 {
    font-weight: 400;
}

/* Header */
.header {
    background-color: #ffe600;
    padding: 8px 10px;
    position: relative;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.search-bar {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 2px;
    padding: 7px 12px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.2);
}

.search-icon {
    stroke: #b2b2b2;
    margin-right: 8px;
    flex-shrink: 0;
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    font-family: inherit;
    color: #333;
}

.search-bar input::placeholder {
    color: #b2b2b2;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Sub Nav */
.sub-nav {
    background-color: #ffe600;
    padding: 8px 10px;
    color: rgba(0,0,0,.8);
    font-size: 13px;
}

.sub-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    cursor: pointer;
}

.sub-nav-content > span {
    padding-left: 6px;
    flex-grow: 1;
    color: rgba(0, 0, 0, 0.55);
}

.sub-nav-content svg {
    stroke: rgba(0,0,0,.55);
}

/* Main Layout */
.product-container {
    background: #fff;
    margin: 0;
    padding: 16px;
}

/* Top Container (Mobile title/stats) */
.product-top-container {
    display: flex;
    flex-direction: column;
}

.store-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #3483fa;
    margin-bottom: 12px;
}

.store-logo {
    background: #000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dewalt-text {
    color: #ffe600;
    font-size: 4px;
    font-weight: 800;
}

.product-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(0,0,0,.55);
    margin-bottom: 8px;
}

.stats-left {
    display: flex;
    align-items: center;
}

.separator {
    margin: 0 6px;
}

.stats-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-number {
    color: rgba(0,0,0,.55);
}

.stars {
    display: flex;
    align-items: center;
    fill: #3483fa;
}

.star {
    width: 10px;
    height: 10px;
}

.rating-count {
    color: rgba(0,0,0,.55);
}

.product-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
}

.badge-best-seller {
    background: #F75A1B;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.badge-category {
    color: #3483fa;
    font-weight: 500;
}

.product-title {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.25;
    margin-bottom: 16px;
}

/* Mobile Split Wrapper Default */
.product-layout-split {
    display: flex;
    flex-direction: column;
}

/* Gallery */
.product-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
}

.gallery-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.image-counter {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0,0,0,.08);
    color: #333;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 2;
}

.icon-btn {
    position: absolute;
    background: rgba(255,255,255,.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.15);
    z-index: 2;
}

.favorite-btn {
    top: 15px;
    right: 5px;
}

.favorite-btn svg {
    width: 20px;
    height: 20px;
}

.share-btn {
    bottom: 25px;
    right: 5px;
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

.gallery-carousel-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin: 10px 0 25px 0;
}

.gallery-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    scroll-snap-align: start;
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.carousel-dots {
    display: flex;
    gap: 7px;
    justify-content: center;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(0,0,0,.15);
    border-radius: 50%;
}

.dot.active {
    background: #3483fa;
}

/* Action Area (Price, Add to Cart) */
.product-action-area {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.price-section {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2px;
    color: #333;
}

.price-symbol {
    font-size: 18px;
    font-weight: 400;
    margin-top: 4px;
    margin-right: 2px;
}

.price-fraction {
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
}

.installments {
    font-size: 16px;
    color: rgba(0,0,0,.9);
    margin-bottom: 2px;
}

.installments-highlight {
    color: #00a650;
    font-weight: 400;
}

.payment-methods-link {
    font-size: 14px;
    margin-bottom: 16px;
    display: inline-block;
}

.shipping-info {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.shipping-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.green-text {
    color: #00a650;
    font-size: 16px;
    font-weight: 400;
}

.shipping-subtext {
    color: rgba(0,0,0,.55);
    font-size: 14px;
}

.shipping-link {
    font-size: 14px;
    margin-top: 2px;
}

.stock-info {
    margin-bottom: 16px;
    font-size: 16px;
    color: rgba(0,0,0,.9);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 16px;
    cursor: pointer;
}

.quantity-selector label b {
    font-weight: 600;
}

.quantity-selector svg {
    margin-left: 2px;
    vertical-align: middle;
}

.stock-available {
    color: rgba(0,0,0,.55);
    font-size: 14px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.btn {
    width: 100%;
    height: 48px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #3483fa;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2968c8;
}

.btn-secondary {
    background-color: rgba(65,137,230,.15);
    color: #3483fa;
}

.btn-secondary:hover {
    background-color: rgba(65,137,230,.2);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: rgba(0,0,0,.9);
    line-height: 1.3;
}

.benefit-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: rgba(0,0,0,.55);
}

.benefit-item a {
    color: #3483fa;
}

.benefit-item b {
    font-weight: 600;
}

/* Sections */
.section-container {
    padding: 24px 0 0 0;
    border-top: 1px solid #ebebeb;
    margin-top: 24px;
}

.section-title {
    font-size: 24px;
    color: rgba(0,0,0,.9);
    margin-bottom: 16px;
    font-weight: 400;
}

.description-text {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr:nth-child(odd) {
    background-color: #f5f5f5;
}

.specs-table th, .specs-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    border: 1px solid #ebebeb;
}

.specs-table th {
    font-weight: 600;
    color: #333;
    width: 40%;
    background-color: #ebebeb;
}

.specs-table td {
    color: #333;
}

/* What you need to know List */
.know-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.know-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(0,0,0,.9);
    line-height: 1.35;
}

.know-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(0,0,0,.3);
    font-size: 18px;
    line-height: 1;
    top: -2px;
}

/* Characteristics Section */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.feature-text {
    font-size: 14px;
    color: rgba(0,0,0,.9);
    line-height: 1.4;
    padding-top: 6px;
    margin: 0;
}

.feature-text b {
    font-weight: 600;
}

.view-all-features-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 16px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 6px;
    color: #3483fa;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.view-all-features-btn:hover {
    background-color: rgba(0,0,0,.04);
}

/* Store Banner Block */
.store-block {
    margin-bottom: 24px;
    position: relative;
    max-width: 398px;
    width: calc(100% - 32px); /* Responsive width for mobile */
    margin-left: auto;
    margin-right: auto;
}

.store-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    height: 84px;
    z-index: 10;
}

.store-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.store-info-main {
    padding: 130px 16px 24px 16px; /* Increased padding to 130px to clear the avatar (48px top + 72px height = 120px) */
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.1);
    position: relative;
    z-index: 5;
    margin-top: 0;
}

.store-avatar {
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: #fff;
    top: 48px; /* Positioned to overlap exactly like the reference */
    left: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    z-index: 15;
    overflow: hidden;
}

.store-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
}

.store-name-title {
    font-size: 20px;
    color: rgba(0,0,0,.9);
    font-weight: 400;
    margin: 0;
}

.follow-btn {
    background-color: rgba(65,137,230,.15);
    color: #3483fa;
    border: none;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.follow-btn:hover {
    background-color: rgba(65,137,230,.2);
}

.store-subtitle {
    font-size: 13px;
    color: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.store-stats {
    font-size: 13px;
    color: rgba(0,0,0,.55);
    margin-bottom: 16px;
}

.store-stats b {
    color: rgba(0,0,0,.9);
    font-weight: 600;
}

.reputation-medal {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}

.reputation-details {
    display: flex;
    flex-direction: column;
}

.reputation-title {
    color: #00a650;
    font-size: 16px;
    font-weight: 600;
}

.reputation-subtitle {
    color: rgba(0,0,0,.55);
    font-size: 14px;
}

.reputation-bar {
    display: flex;
    height: 6px;
    gap: 4px;
    margin-bottom: 16px;
}

.reputation-level {
    flex: 1;
    border-radius: 3px;
}

.reputation-level:nth-child(1) { background: #fff0f0; } /* redish */
.reputation-level:nth-child(2) { background: #fff5e8; } /* orangeish */
.reputation-level:nth-child(3) { background: #fffcda; } /* yellow light */
.reputation-level:nth-child(4) { background: #f1fdd7; } /* green light */
.reputation-level:nth-child(5) { background: #00a650; height: 8px; margin-top: -1px; } /* active green */

.reputation-metrics {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    border-right: 1px solid rgba(0,0,0,.1);
}

.metric-item:last-child {
    border-right: none;
}

.metric-val {
    font-size: 18px;
    color: rgba(0,0,0,.9);
    font-weight: 600;
    margin-bottom: 2px;
}

.metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    height: 24px;
}

.metric-desc {
    font-size: 12px;
    color: rgba(0,0,0,.55);
    line-height: 1.2;
}

/* Product Details Stack */
.product-details-images {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-details-images img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* Opinions Section */
.opinions-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.opinions-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    flex-shrink: 0;
}

.opinions-score {
    font-size: 48px;
    font-weight: 400;
    color: #3483fa;
    line-height: 1;
    margin-bottom: 8px;
}

.opinions-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.opinions-stars svg {
    width: 18px;
    height: 18px;
    fill: #3483fa;
}

.opinions-count {
    font-size: 14px;
    color: rgba(0,0,0,.55);
}

.opinions-bars {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 24px;
}

.opinion-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar-label {
    font-size: 14px;
    color: rgba(0,0,0,.55);
    width: 10px;
}

.bar-icon {
    display: flex;
    align-items: center;
}

.bar-icon svg {
    width: 12px;
    height: 12px;
    fill: rgba(0,0,0,.3);
}

.bar-track {
    flex-grow: 1;
    height: 4px;
    background: #ebebeb;
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #333;
    border-radius: 2px;
}

.features-ratings {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-name {
    font-size: 14px;
    color: #333;
}

.feature-stars {
    display: flex;
    gap: 4px;
}

.feature-stars svg {
    width: 16px;
    height: 16px;
    fill: #3483fa;
}

svg.star.half-star {
    fill: url(#star-half-grad) !important;
}

.opinions-photos-section {
    margin-top: 32px;
}

.opinions-photos-title {
    font-size: 18px;
    font-weight: 400;
    color: rgba(0,0,0,.9);
    margin-bottom: 16px;
}

.photos-carousel-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-right: -16px;
}

.photos-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.photos-carousel {
    display: flex;
    gap: 8px;
    padding-right: 16px;
}

.photo-card {
    position: relative;
    width: 120px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.15);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,.6);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(0,0,0,.8);
}

/* User Reviews List */
.opinions-title-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    margin-bottom: 4px;
}

.opinions-title-text {
    font-size: 20px;
    font-weight: 400;
    color: rgba(0,0,0,.9);
    margin: 0;
}

.filter-btn {
    background-color: rgba(65,137,230,.15);
    color: #3483fa;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.filter-btn svg {
    stroke: #3483fa;
}

.opinions-subtitle {
    font-size: 14px;
    color: rgba(0,0,0,.55);
    margin-bottom: 24px;
}

.ai-summary {
    font-size: 16px;
    color: rgba(0,0,0,.9);
    line-height: 1.4;
    margin-bottom: 8px;
}

.ai-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(0,0,0,.55);
    margin-bottom: 32px;
}

.ai-badge svg {
    fill: #3483fa;
}

.review-item {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #ebebeb;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-date {
    font-size: 12px;
    color: rgba(0,0,0,.55);
}

.review-photos-grid {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.review-photos-grid::-webkit-scrollbar {
    display: none;
}

.review-photo-sm {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
}

.review-photo-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-text {
    font-size: 16px;
    color: rgba(0,0,0,.9);
    line-height: 1.4;
    margin-bottom: 4px;
}

.review-text-link {
    color: #3483fa;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.useful-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 16px;
    background: transparent;
    color: rgba(0,0,0,.9);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.useful-btn:hover {
    background: rgba(0,0,0,.04);
}

.useful-btn svg {
    stroke: rgba(0,0,0,.55);
}

.more-options-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-options-btn svg {
    fill: rgba(0,0,0,.3);
}

.show-all-reviews-link {
    display: block;
    color: #3483fa;
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    text-align: left;
    text-decoration: none;
}

/* Footer Section */
.main-footer {
    background-color: #fff;
    padding: 32px 16px 24px 16px;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.footer-col a {
    color: rgba(0,0,0,.9);
    font-size: 14px;
    text-decoration: none;
    font-weight: 400;
}

.footer-legal-container {
    border-top: 1px solid #ebebeb;
    padding-top: 16px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-legal-links a {
    color: rgba(0,0,0,.9);
    font-size: 12px;
    text-decoration: none;
}

.footer-copyright {
    color: rgba(0,0,0,.55);
    font-size: 12px;
    line-height: 1.35;
    margin: 0;
}

/* =========================================
   RESPONSIVE DESIGN (TABLET & DESKTOP)
========================================= */

@media (min-width: 768px) {
    .product-container {
        max-width: 1200px;
        margin: 40px auto;
        border-radius: 4px;
        box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
        padding: 32px;
    }

    .product-top-container {
        display: none; /* Move title to the right side on desktop */
    }

    .product-layout-split {
        display: flex;
        flex-direction: row;
        gap: 48px;
    }

    .product-gallery {
        flex: 1 1 50%;
        margin-bottom: 0;
    }

    .product-action-area {
        flex: 1 1 35%;
        max-width: 400px;
        border: 1px solid rgba(0,0,0,.1);
        border-radius: 8px;
        padding: 24px;
        align-self: flex-start;
    }

    .gallery-container {
        height: 500px;
        justify-content: flex-start;
    }

    .main-image {
        height: 100%;
        margin: 0;
    }

    .main-image img {
        max-height: 500px;
    }
    
    .icon-btn {
        background: transparent;
        box-shadow: none;
    }
    .icon-btn svg { stroke: rgba(0,0,0,.5); }

    /* For desktop action area, we'll re-add the title dynamically or via CSS structure. 
       Let's inject a cloned title area into the right panel using JS or just show/hide. */
    .desktop-top-container {
        display: block;
        margin-bottom: 16px;
    }

    .carousel-dots, .image-counter {
        display: none; /* Desktop usually uses thumbnails */
    }
}

/* By default hide the desktop specific title container we'll add via JS/HTML */
.desktop-top-container {
    display: none;
}

@media (max-width: 767px) {
    .desktop-top-container {
        display: none !important;
    }
}

/* Zip Code Page Styles */
.zip-container {
    padding: 24px;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.zip-back-btn {
    color: #3483fa;
    text-decoration: none;
    margin-bottom: 32px;
    display: block;
}

.zip-title {
    font-size: 28px;
    color: rgba(0,0,0,.9);
    font-weight: 400;
    margin: 0 0 12px 0;
    line-height: 1.1;
}

.zip-subtitle {
    font-size: 16px;
    color: rgba(0,0,0,.55);
    margin-bottom: 40px;
    line-height: 1.4;
}

.zip-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.zip-label {
    font-size: 14px;
    color: rgba(0,0,0,.9);
    font-weight: 400;
}

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

.zip-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #3483fa;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    color: rgba(0,0,0,.9);
}

.zip-input::placeholder {
    color: rgba(0,0,0,.25);
}

.zip-use-btn {
    width: 100%;
    background-color: #3483fa;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s;
}

.zip-use-btn:hover {
    background-color: #2968c8;
}

.zip-forgot-link {
    display: block;
    text-align: center;
    color: #3483fa;
    text-decoration: none;
    font-size: 14px;
    margin-top: 24px;
    font-weight: 400;
}
