/* Online Store - Women's Fashion Skirts */
/* Amazon-style e-commerce: clean white bg, Bootstrap-based, sans-serif */

:root {
    --primary: #131921;          /* Amazon dark navy */
    --primary-dark: #0f1111;
    --primary-light: #232f3e;
    --secondary: #232f3e;
    --accent: #ff9900;            /* Amazon orange */
    --accent-hover: #f08804;
    --accent-soft: #febd69;
    --price: #B12704;             /* Amazon price red */
    --link: #007185;              /* Amazon link blue */
    --link-hover: #C7511F;
    --success: #067D62;
    --warning: #C7511F;
    --star: #FFA41C;
    --bg: #ffffff;
    --bg-gray: #F7F7F7;
    --bg-dark: #EAEDED;
    --border: #D5D9D9;
    --border-dark: #8795A1;
    --border-light: #E7E7E7;
    --text: #0F1111;
    --text-secondary: #565959;
    --text-light: #6C757D;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.07);
    --shadow: 0 2px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.14);
    --radius: 6px;
    --radius-sm: 4px;
    --transition: all 0.15s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Amazon Ember', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.5;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

a {
    color: var(--link);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    padding: 6px 0;
}

.top-bar a {
    color: #fff;
    font-size: 12px;
}

.top-bar a:hover {
    color: var(--accent-soft);
}

/* ===== NAVBAR ===== */
.navbar-amz {
    background: var(--secondary) !important;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.navbar-amz .navbar-brand {
    padding: 8px 16px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.navbar-amz .navbar-brand:hover {
    color: #fff;
}

.navbar-amz .nav-link {
    color: #fff !important;
    font-size: 13px;
    padding: 14px 12px !important;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: var(--transition);
}

.navbar-amz .nav-link:hover {
    border: 1px solid #fff;
    color: #fff !important;
    text-decoration: none;
}

.navbar-amz .nav-link.active {
    border: 1px solid #fff;
}

/* Search bar */
.search-bar {
    display: flex;
    height: 38px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    outline: none;
}

.search-bar input:focus {
    box-shadow: 0 0 0 2px var(--accent);
}

.search-bar button {
    background: var(--accent);
    border: none;
    padding: 0 16px;
    color: var(--primary-dark);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--accent-hover);
}

/* Cart */
.cart-link {
    color: #fff !important;
    font-size: 13px;
    padding: 8px;
    position: relative;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
}

.cart-link:hover {
    border: 1px solid #fff;
    text-decoration: none;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 10px;
}

/* ===== HERO / BANNER ===== */
.hero-banner {
    background: linear-gradient(to bottom, #232f3e, #131921);
    color: #fff;
    padding: 40px 0;
}

.hero-banner h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-banner p {
    font-size: 15px;
    color: #e7e7e7;
    margin-bottom: 0;
}

/* ===== CATEGORY FILTER BAR ===== */
.category-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.filter-chip {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    text-decoration: none;
}

/* ===== SECTION TITLE ===== */
.section-header {
    padding: 20px 0 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.section-header h2 {
    font-size: 21px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.section-header .see-all {
    font-size: 13px;
    font-weight: 500;
    color: var(--link);
}

.section-header .see-all:hover {
    color: var(--link-hover);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
    padding: 20px 0;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--border);
}

.product-card-img {
    position: relative;
    padding-top: 100%;
    background: #F7F7F7;
    overflow: hidden;
}

.product-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.02);
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--price);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand {
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    text-decoration: none;
}

.product-brand:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.product-card:hover .product-title {
    color: var(--link-hover);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    font-size: 12px;
}

.product-rating .stars {
    color: var(--star);
    font-size: 14px;
    line-height: 1;
}

.product-rating .review-count {
    color: var(--link);
}

.product-rating .review-count:hover {
    color: var(--link-hover);
}

.product-price {
    margin-bottom: 6px;
}

.product-price .current {
    color: var(--price);
    font-size: 18px;
    font-weight: 700;
}

.product-price .current .currency {
    font-size: 13px;
    font-weight: 500;
    vertical-align: top;
}

.product-price .current .cents {
    font-size: 13px;
    font-weight: 500;
}

.product-price .original {
    color: var(--text-light);
    font-size: 13px;
    text-decoration: line-through;
    margin-left: 6px;
}

.product-ship {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.product-ship .free {
    color: var(--success);
    font-weight: 600;
}

.btn-add-cart {
    margin-top: auto;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-add-cart:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    text-decoration: none;
    color: var(--primary-dark);
}

/* ===== PRODUCT PAGE ===== */
.product-page {
    padding: 20px 0;
}

.product-gallery {
    position: sticky;
    top: 80px;
}

.product-main-img {
    width: 100%;
    aspect-ratio: 1;
    background: #F7F7F7;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.product-thumb {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    overflow: hidden;
    background: #F7F7F7;
}

.product-thumb.active {
    border-color: var(--accent);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product info column */
.product-info h1 {
    font-size: 22px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-info .brand-link {
    font-size: 14px;
    color: var(--link);
    margin-bottom: 8px;
}

.product-info .rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.rating-row .stars {
    color: var(--star);
    font-size: 16px;
}

.rating-row .count {
    color: var(--link);
    font-size: 14px;
}

.price-block {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.price-block .label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.price-block .amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-block .amount .current {
    color: var(--price);
    font-size: 28px;
    font-weight: 500;
}

.price-block .amount .current .dollar {
    font-size: 18px;
}

.price-block .amount .current .cents {
    font-size: 16px;
}

.price-block .amount .original {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 16px;
}

.price-block .savings {
    color: var(--price);
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
}

/* Buy box */
.buy-box {
    background: #F7F7F7;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.buy-box h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text);
}

.buy-box .size-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 10px;
    background: #fff;
}

.buy-box .qty-select {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
}

.buy-box .qty-select select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.btn-cart-amz {
    display: block;
    width: 100%;
    background: var(--accent);
    color: var(--primary-dark);
    border: 1px solid var(--accent);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: var(--transition);
}

.btn-cart-amz:hover {
    background: var(--accent-hover);
    color: var(--primary-dark);
    text-decoration: none;
}

.btn-buy-now {
    display: block;
    width: 100%;
    background: #FFD814;
    color: var(--primary-dark);
    border: 1px solid #FCD200;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-buy-now:hover {
    background: #F7CA00;
    color: var(--primary-dark);
    text-decoration: none;
}

.buy-box .fulfill {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
    line-height: 1.4;
}

.buy-box .fulfill strong {
    color: var(--success);
}

/* About this item */
.about-item {
    margin-top: 24px;
}

.about-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.about-item ul {
    list-style: none;
    padding: 0;
}

.about-item ul li {
    position: relative;
    padding-left: 20px;
    padding-bottom: 8px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
}

.about-item ul li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: var(--text-light);
}

/* Reviews section */
.reviews-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.reviews-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.review-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-secondary);
}

.reviewer-name {
    font-size: 14px;
    font-weight: 600;
}

.review-stars {
    color: var(--star);
    font-size: 14px;
    margin-bottom: 4px;
}

.review-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}

.review-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
}

/* ===== CART PAGE ===== */
.cart-section {
    padding: 20px 0;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.cart-item-price {
    color: var(--price);
    font-weight: 700;
    font-size: 15px;
}

.cart-summary {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
    position: sticky;
    top: 80px;
}

.cart-summary h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.cart-summary .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.cart-summary .total-row {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 12px;
    font-size: 18px;
    font-weight: 700;
}

.cart-summary .total-row .total-amount {
    color: var(--price);
}

.btn-checkout {
    display: block;
    width: 100%;
    background: var(--accent);
    color: var(--primary-dark);
    border: 1px solid var(--accent);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 16px;
}

.btn-checkout:hover {
    background: var(--accent-hover);
    color: var(--primary-dark);
    text-decoration: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 40px 0 0;
    margin-top: 40px;
}

.footer h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer a {
    color: #ddd;
    font-size: 13px;
    display: block;
    padding: 3px 0;
}

.footer a:hover {
    color: var(--accent-soft);
}

.footer-bottom {
    background: var(--primary);
    color: #aaa;
    text-align: center;
    padding: 16px 0;
    font-size: 12px;
    margin-top: 30px;
}

/* ===== UTILITIES ===== */
.stars-rating {
    color: var(--star);
    letter-spacing: 1px;
}

.price-current {
    color: var(--price);
}

.free-shipping {
    color: var(--success);
    font-weight: 600;
}

.in-stock {
    color: var(--success);
    font-weight: 700;
}

/* Trust strip */
.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
}

.trust-item {
    text-align: center;
}

.trust-item i {
    font-size: 24px;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
}

.trust-item strong {
    display: block;
    font-size: 13px;
    color: var(--text);
}

.trust-item small {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 767px) {
    .navbar-amz .nav-link {
        padding: 10px !important;
    }
    .search-bar {
        margin: 10px 0;
    }
    .hero-banner {
        padding: 30px 0;
    }
    .hero-banner h1 {
        font-size: 24px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    .product-title {
        font-size: 13px;
    }
    .product-price .current {
        font-size: 16px;
    }
    .product-gallery {
        position: static;
    }
}
